Package org.zalando.logbook
Interface HttpMessage
-
- All Known Subinterfaces:
ForwardingHttpMessage,ForwardingHttpRequest,ForwardingHttpResponse,HttpRequest,HttpResponse
@API(status=STABLE) public interface HttpMessage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[]getBody()default StringgetBodyAsString()CharsetgetCharset()StringgetContentType()HttpHeadersgetHeaders()OrigingetOrigin()StringgetProtocolVersion()
-
-
-
Method Detail
-
getProtocolVersion
String getProtocolVersion()
-
getOrigin
Origin getOrigin()
-
getHeaders
HttpHeaders getHeaders()
-
getContentType
@Nullable String getContentType()
-
getCharset
Charset getCharset()
-
getBody
byte[] getBody() throws IOException- Throws:
IOException
-
getBodyAsString
default String getBodyAsString() throws IOException
- Throws:
IOException
-
-