Class EmptyToStringRequestWrapper
java.lang.Object
com.github.tomakehurst.wiremock.verification.diff.EmptyToStringRequestWrapper
- All Implemented Interfaces:
Request
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.tomakehurst.wiremock.http.Request
Request.Part -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeader(String key) formParameter(String key) @Nullable Stringbyte[]getBody()getHost()getParts()@NonNull org.wiremock.url.PathAndQueryintgetPort()@Nullable org.wiremock.url.AbsoluteUrl@NonNull StringgetUrl()booleanbooleanqueryParameter(String key) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.tomakehurst.wiremock.http.Request
getId, getPathParameters
-
Constructor Details
-
EmptyToStringRequestWrapper
-
-
Method Details
-
getUrl
-
getPathAndQueryWithoutPrefix
public @NonNull org.wiremock.url.PathAndQuery getPathAndQueryWithoutPrefix()- Specified by:
getPathAndQueryWithoutPrefixin interfaceRequest
-
getAbsoluteUrl
- Specified by:
getAbsoluteUrlin interfaceRequest
-
getTypedAbsoluteUrl
public @Nullable org.wiremock.url.AbsoluteUrl getTypedAbsoluteUrl()- Specified by:
getTypedAbsoluteUrlin interfaceRequest
-
getMethod
-
getScheme
-
getHost
-
getPort
public int getPort() -
getClientIp
- Specified by:
getClientIpin interfaceRequest
-
getHeader
-
header
-
contentTypeHeader
- Specified by:
contentTypeHeaderin interfaceRequest
-
getHeaders
- Specified by:
getHeadersin interfaceRequest
-
containsHeader
- Specified by:
containsHeaderin interfaceRequest
-
getAllHeaderKeys
- Specified by:
getAllHeaderKeysin interfaceRequest
-
getCookies
- Specified by:
getCookiesin interfaceRequest
-
queryParameter
- Specified by:
queryParameterin interfaceRequest
-
formParameter
- Specified by:
formParameterin interfaceRequest
-
formParameters
- Specified by:
formParametersin interfaceRequest
-
getBody
public byte[] getBody() -
getBodyAsString
- Specified by:
getBodyAsStringin interfaceRequest
-
getBodyAsBase64
- Specified by:
getBodyAsBase64in interfaceRequest
-
isMultipart
public boolean isMultipart()- Specified by:
isMultipartin interfaceRequest
-
getParts
-
getPart
-
isBrowserProxyRequest
public boolean isBrowserProxyRequest()- Specified by:
isBrowserProxyRequestin interfaceRequest
-
getOriginalRequest
- Specified by:
getOriginalRequestin interfaceRequest
-
getProtocol
- Specified by:
getProtocolin interfaceRequest
-
toString
-