Interface Request
- All Known Implementing Classes:
EmptyToStringRequestWrapper
,LoggedRequest
,RequestWrapper
,WireMockHttpServletRequestAdapter
public interface Request
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsHeader
(String key) byte[]
getBody()
getHost()
com.google.common.base.Optional<Request>
getParts()
int
getPort()
getUrl()
boolean
boolean
queryParameter
(String key)
-
Method Details
-
getUrl
String getUrl() -
getAbsoluteUrl
String getAbsoluteUrl() -
getMethod
RequestMethod getMethod() -
getScheme
String getScheme() -
getHost
String getHost() -
getPort
int getPort() -
getClientIp
String getClientIp() -
getHeader
-
header
-
contentTypeHeader
ContentTypeHeader contentTypeHeader() -
getHeaders
HttpHeaders getHeaders() -
containsHeader
-
getAllHeaderKeys
-
queryParameter
-
getCookies
-
getBody
byte[] getBody() -
getBodyAsString
String getBodyAsString() -
getBodyAsBase64
String getBodyAsBase64() -
isMultipart
boolean isMultipart() -
getParts
Collection<Request.Part> getParts() -
getPart
-
isBrowserProxyRequest
boolean isBrowserProxyRequest() -
getOriginalRequest
com.google.common.base.Optional<Request> getOriginalRequest() -
getProtocol
String getProtocol()
-