Package org.zalando.logbook
Interface ForwardingHttpMessage
- All Superinterfaces:
HttpMessage
- All Known Subinterfaces:
ForwardingHttpRequest,ForwardingHttpResponse
@API(status=STABLE) public interface ForwardingHttpMessage extends HttpMessage
-
Method Summary
Modifier and Type Method Description HttpMessagedelegate()default byte[]getBody()default java.lang.StringgetBodyAsString()default java.nio.charset.CharsetgetCharset()default java.lang.StringgetContentType()default HttpHeadersgetHeaders()default OrigingetOrigin()default java.lang.StringgetProtocolVersion()
-
Method Details
-
delegate
HttpMessage delegate() -
getProtocolVersion
default java.lang.String getProtocolVersion()- Specified by:
getProtocolVersionin interfaceHttpMessage
-
getOrigin
- Specified by:
getOriginin interfaceHttpMessage
-
getHeaders
- Specified by:
getHeadersin interfaceHttpMessage
-
getContentType
default java.lang.String getContentType()- Specified by:
getContentTypein interfaceHttpMessage
-
getCharset
default java.nio.charset.Charset getCharset()- Specified by:
getCharsetin interfaceHttpMessage
-
getBody
default byte[] getBody() throws java.io.IOException- Specified by:
getBodyin interfaceHttpMessage- Throws:
java.io.IOException
-
getBodyAsString
default java.lang.String getBodyAsString() throws java.io.IOException- Specified by:
getBodyAsStringin interfaceHttpMessage- Throws:
java.io.IOException
-