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