Class MockMvcRestAssuredResponseImpl

java.lang.Object
io.restassured.internal.RestAssuredResponseOptionsImpl<MockMvcResponse>
io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl
All Implemented Interfaces:
MockMvcResponse, io.restassured.response.ExtractableResponse<MockMvcResponse>, io.restassured.response.ResponseBody<MockMvcResponse>, io.restassured.response.ResponseBodyData, io.restassured.response.ResponseBodyExtractionOptions, io.restassured.response.ResponseOptions<MockMvcResponse>, io.restassured.response.Validatable<ValidatableMockMvcResponse,MockMvcResponse>

public class MockMvcRestAssuredResponseImpl extends io.restassured.internal.RestAssuredResponseOptionsImpl<MockMvcResponse> implements MockMvcResponse
  • Field Summary

    Fields inherited from class io.restassured.internal.RestAssuredResponseOptionsImpl

    groovyResponse
  • Constructor Summary

    Constructors
    Constructor
    Description
    MockMvcRestAssuredResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions, io.restassured.internal.log.LogRepository logRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.mock.web.MockHttpServletResponse
    Return the MockHttpServletResponse as returned by Spring MockMvc.
    org.springframework.test.web.servlet.MvcResult
    Return the MvcResult as returned by Spring MockMvc.
    org.springframework.mock.web.MockHttpServletResponse
    Return the MockHttpServletResponse as returned by Spring MockMvc.
    org.springframework.test.web.servlet.MvcResult
    Return the MvcResult as returned by Spring MockMvc.
     

    Methods inherited from class io.restassured.internal.RestAssuredResponseOptionsImpl

    andReturn, as, as, as, as, as, as, as, asByteArray, asInputStream, asPrettyString, asString, asString, body, contentType, cookie, cookies, detailedCookie, detailedCookies, getApacheHttpContext, getBody, getConfig, getConnectionManager, getContent, getContentType, getCookie, getCookies, getDecoderConfig, getDefaultContentType, getDetailedCookie, getDetailedCookies, getFilterContextProperties, getGroovyResponse, getHasExpectations, getHeader, getHeaders, getLogRepository, getResponseHeaders, getRpr, getSessionId, getSessionIdName, getStatusCode, getStatusLine, getTime, getTimeIn, header, headers, htmlPath, isInputStream, jsonPath, jsonPath, path, peek, prettyPeek, prettyPrint, print, response, sessionId, setApacheHttpContext, setConfig, setConnectionManager, setContent, setContentType, setCookies, setDecoderConfig, setDefaultContentType, setFilterContextProperties, setGroovyResponse, setHasExpectations, setLogRepository, setResponseHeaders, setRpr, setSessionIdName, setStatusCode, setStatusLine, statusCode, statusLine, thenReturn, time, timeIn, xmlPath, xmlPath, xmlPath

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.restassured.response.ResponseBody

    peek, prettyPeek, prettyPrint, print

    Methods inherited from interface io.restassured.response.ResponseBodyData

    asByteArray, asInputStream, asPrettyString, asString

    Methods inherited from interface io.restassured.response.ResponseBodyExtractionOptions

    as, as, as, as, as, as, as, htmlPath, jsonPath, jsonPath, path, xmlPath, xmlPath, xmlPath

    Methods inherited from interface io.restassured.response.ResponseOptions

    andReturn, body, contentType, cookie, cookies, detailedCookie, detailedCookies, getBody, getContentType, getCookie, getCookies, getDetailedCookie, getDetailedCookies, getHeader, getHeaders, getSessionId, getStatusCode, getStatusLine, getTime, getTimeIn, header, headers, sessionId, statusCode, statusLine, thenReturn, time, timeIn
  • Constructor Details

    • MockMvcRestAssuredResponseImpl

      public MockMvcRestAssuredResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions, io.restassured.internal.log.LogRepository logRepository)
  • Method Details