Request.Method| Constructor and Description |
|---|
WireMockRequest(com.github.tomakehurst.wiremock.http.Request 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(com.github.tomakehurst.wiremock.http.Request originalRequest)
Builds a
Request for the OpenAPI validator out of the
original Request. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentType, getHeaderValue, getRequestBody@Deprecated public WireMockRequest(@Nonnull com.github.tomakehurst.wiremock.http.Request originalRequest)
of(com.github.tomakehurst.wiremock.http.Request)@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–2023 Atlassian. All rights reserved.