Class WireMockRequest
java.lang.Object
com.atlassian.oai.validator.wiremock.WireMockRequest
- All Implemented Interfaces:
Request
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.oai.validator.model.Request
Request.Method -
Constructor Summary
ConstructorsConstructorDescriptionWireMockRequest(com.github.tomakehurst.wiremock.http.Request originalRequest) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.oai.validator.model.Request
getContentType, getHeaderValue, getRequestBody
-
Constructor Details
-
WireMockRequest
@Deprecated public WireMockRequest(@Nonnull com.github.tomakehurst.wiremock.http.Request originalRequest) Deprecated.
-
-
Method Details
-
getPath
-
getMethod
-
getBody
-
getQueryParameters
- Specified by:
getQueryParametersin interfaceRequest
-
getQueryParameterValues
- Specified by:
getQueryParameterValuesin interfaceRequest
-
getHeaders
- Specified by:
getHeadersin interfaceRequest
-
getHeaderValues
- Specified by:
getHeaderValuesin interfaceRequest
-
of
@Nonnull public static Request of(@Nonnull com.github.tomakehurst.wiremock.http.Request originalRequest) Builds aRequestfor the OpenAPI validator out of the originalRequest.- Parameters:
originalRequest- the originalRequest
-
of(com.github.tomakehurst.wiremock.http.Request)