Package org.zalando.logbook
Interface HttpRequest
- All Superinterfaces:
HttpMessage
- All Known Subinterfaces:
ForwardingHttpRequest
-
Method Summary
Methods inherited from interface org.zalando.logbook.HttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
Method Details
-
getRemote
String getRemote() -
getMethod
String getMethod() -
getRequestUri
Absolute Request URI including scheme, host, port (unless http/80 or https/443), path and query string.Note that the URI may be invalid if the client issued an HTTP request using a malformed URL.
- Returns:
- the requested URI
-
getScheme
String getScheme() -
getHost
String getHost() -
getPort
-
getPath
String getPath() -
getQuery
String getQuery() -
withBody
- Throws:
IOException
-
withoutBody
HttpRequest withoutBody()
-