public class MockMvcRestAssuredResponseImpl extends io.restassured.internal.RestAssuredResponseOptionsImpl<MockMvcResponse> implements MockMvcResponse
| Constructor and Description |
|---|
MockMvcRestAssuredResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions,
io.restassured.internal.log.LogRepository logRepository) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.mock.web.MockHttpServletResponse |
getMockHttpServletResponse()
Return the
MockHttpServletResponse as returned by Spring MockMvc. |
org.springframework.test.web.servlet.MvcResult |
getMvcResult()
Return the
MvcResult as returned by Spring MockMvc. |
org.springframework.mock.web.MockHttpServletResponse |
mockHttpServletResponse()
Return the
MockHttpServletResponse as returned by Spring MockMvc. |
org.springframework.test.web.servlet.MvcResult |
mvcResult()
Return the
MvcResult as returned by Spring MockMvc. |
ValidatableMockMvcResponse |
then() |
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, xmlPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpeek, prettyPeek, prettyPrint, printas, as, as, as, as, as, as, htmlPath, jsonPath, jsonPath, path, xmlPath, xmlPath, xmlPathasByteArray, asInputStream, asPrettyString, asStringandReturn, 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, timeInpublic MockMvcRestAssuredResponseImpl(org.springframework.test.web.servlet.ResultActions resultActions,
io.restassured.internal.log.LogRepository logRepository)
public ValidatableMockMvcResponse then()
then in interface io.restassured.response.Validatable<ValidatableMockMvcResponse,MockMvcResponse>public org.springframework.test.web.servlet.MvcResult mvcResult()
MockMvcResponseMvcResult as returned by Spring MockMvc.
This method is the same as MockMvcResponse.getMvcResult() except for syntactic differences.
mvcResult in interface MockMvcResponseMvcResult as returned by Spring MockMvc.public org.springframework.test.web.servlet.MvcResult getMvcResult()
MockMvcResponseMvcResult as returned by Spring MockMvc.
This method is the same as MockMvcResponse.mvcResult() except for syntactic differences.
getMvcResult in interface MockMvcResponseMvcResult as returned by Spring MockMvc.public org.springframework.mock.web.MockHttpServletResponse mockHttpServletResponse()
MockMvcResponseMockHttpServletResponse as returned by Spring MockMvc.
This method is the same as MockMvcResponse.getMockHttpServletResponse() except for syntactic differences.
mockHttpServletResponse in interface MockMvcResponseMockHttpServletResponse as returned by Spring MockMvc.public org.springframework.mock.web.MockHttpServletResponse getMockHttpServletResponse()
MockMvcResponseMockHttpServletResponse as returned by Spring MockMvc.
This method is the same as MockMvcResponse.mockHttpServletResponse() except for syntactic differences.
getMockHttpServletResponse in interface MockMvcResponseMockHttpServletResponse as returned by Spring MockMvc.Copyright © 2010–2025. All rights reserved.