Package org.zalando.logbook
Interface ForwardingHttpRequest
- All Superinterfaces:
ForwardingHttpMessage,HttpMessage,HttpRequest
@API(status=STABLE)
public interface ForwardingHttpRequest
extends ForwardingHttpMessage, HttpRequest
-
Method Summary
Modifier and TypeMethodDescriptiondelegate()default HttpAttributesdefault StringgetHost()default Stringdefault StringgetPath()getPort()default StringgetQuery()default Stringdefault StringAbsolute Request URI including scheme, host, port (unless http/80 or https/443), path and query string.default Stringdefault HttpRequestwithBody()default HttpRequestMethods inherited from interface org.zalando.logbook.ForwardingHttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
Method Details
-
delegate
HttpRequest delegate()- Specified by:
delegatein interfaceForwardingHttpMessage
-
getRemote
- Specified by:
getRemotein interfaceHttpRequest
-
getMethod
- Specified by:
getMethodin interfaceHttpRequest
-
getRequestUri
Description copied from interface:HttpRequestAbsolute 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.
- Specified by:
getRequestUriin interfaceHttpRequest- Returns:
- the requested URI
-
getScheme
- Specified by:
getSchemein interfaceHttpRequest
-
getHost
- Specified by:
getHostin interfaceHttpRequest
-
getPort
- Specified by:
getPortin interfaceHttpRequest
-
getPath
- Specified by:
getPathin interfaceHttpRequest
-
getQuery
- Specified by:
getQueryin interfaceHttpRequest
-
withBody
- Specified by:
withBodyin interfaceHttpRequest- Throws:
IOException
-
withoutBody
- Specified by:
withoutBodyin interfaceHttpRequest
-
getAttributes
- Specified by:
getAttributesin interfaceHttpRequest
-