Request.Method| Constructor and Description |
|---|
MockMvcRequest(org.springframework.mock.web.MockHttpServletRequest originalRequest)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getBody() |
Map<String,Collection<String>> |
getHeaders() |
Collection<String> |
getHeaderValues(String name) |
Request.Method |
getMethod() |
String |
getPath() |
Collection<String> |
getQueryParameters() |
Collection<String> |
getQueryParameterValues(String name) |
static Request |
of(org.springframework.mock.web.MockHttpServletRequest originalRequest)
Builds a
Request for the OpenAPI validator out of the
original MockHttpServletRequest. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getHeaderValue, getRequestBody@Deprecated public MockMvcRequest(@Nonnull org.springframework.mock.web.MockHttpServletRequest originalRequest)
of(MockHttpServletRequest)@Nonnull public Request.Method getMethod()
@Nonnull public Collection<String> getQueryParameters()
getQueryParameters in interface Request@Nonnull public Collection<String> getQueryParameterValues(String name)
getQueryParameterValues in interface Request@Nonnull public Map<String,Collection<String>> getHeaders()
getHeaders in interface Request@Nonnull public Collection<String> getHeaderValues(String name)
getHeaderValues in interface RequestCopyright © 2016–2022 Atlassian. All rights reserved.