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, 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, setConfig, setConnectionManager, setContent, setContentType, setCookies, setDecoderConfig, setDefaultContentType, setFilterContextProperties, setGroovyResponse, setHasExpectations, setLogRepository, setResponseHeaders, setRpr, setSessionIdName, setStatusCode, setStatusLine, statusCode, statusLine, thenReturn, time, timeIn, xmlPath, xmlPath, xmlPath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
peek, prettyPeek, prettyPrint, print
as, as, as, as, as, as, as, htmlPath, jsonPath, jsonPath, path, xmlPath, xmlPath, xmlPath
asByteArray, asInputStream, asPrettyString, asString
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
public 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()
MockMvcResponse
MvcResult
as returned by Spring MockMvc.
This method is the same as MockMvcResponse.getMvcResult()
except for syntactic differences.
mvcResult
in interface MockMvcResponse
MvcResult
as returned by Spring MockMvc.public org.springframework.test.web.servlet.MvcResult getMvcResult()
MockMvcResponse
MvcResult
as returned by Spring MockMvc.
This method is the same as MockMvcResponse.mvcResult()
except for syntactic differences.
getMvcResult
in interface MockMvcResponse
MvcResult
as returned by Spring MockMvc.public org.springframework.mock.web.MockHttpServletResponse mockHttpServletResponse()
MockMvcResponse
MockHttpServletResponse
as returned by Spring MockMvc.
This method is the same as MockMvcResponse.getMockHttpServletResponse()
except for syntactic differences.
mockHttpServletResponse
in interface MockMvcResponse
MockHttpServletResponse
as returned by Spring MockMvc.public org.springframework.mock.web.MockHttpServletResponse getMockHttpServletResponse()
MockMvcResponse
MockHttpServletResponse
as returned by Spring MockMvc.
This method is the same as MockMvcResponse.mockHttpServletResponse()
except for syntactic differences.
getMockHttpServletResponse
in interface MockMvcResponse
MockHttpServletResponse
as returned by Spring MockMvc.Copyright © 2010–2021. All rights reserved.