| Constructor and Description |
|---|
MockMvcResponse(org.springframework.mock.web.MockHttpServletResponse originalResponse)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getBody() |
Collection<String> |
getHeaderValues(String name) |
int |
getStatus() |
static Response |
of(org.springframework.mock.web.MockHttpServletResponse originalResponse)
Builds a
Response for the OpenAPI validator out of the
original MockHttpServletResponse. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getHeaderValue, getResponseBody@Deprecated public MockMvcResponse(@Nonnull org.springframework.mock.web.MockHttpServletResponse originalResponse)
MockMvcRequest.of(MockHttpServletRequest)@Nonnull public Collection<String> getHeaderValues(String name)
getHeaderValues in interface ResponseCopyright © 2016–2021 Atlassian. All rights reserved.