Package org.zalando.logbook
Interface ForwardingHttpResponse
- All Superinterfaces:
ForwardingHttpMessage
,HttpMessage
,HttpResponse
@API(status=STABLE)
public interface ForwardingHttpResponse
extends ForwardingHttpMessage, HttpResponse
-
Method Summary
Modifier and TypeMethodDescriptiondelegate()
default String
default int
default HttpResponse
withBody()
default HttpResponse
Methods inherited from interface org.zalando.logbook.ForwardingHttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
Method Details
-
delegate
HttpResponse delegate()- Specified by:
delegate
in interfaceForwardingHttpMessage
-
getStatus
default int getStatus()- Specified by:
getStatus
in interfaceHttpResponse
-
withBody
- Specified by:
withBody
in interfaceHttpResponse
- Throws:
IOException
-
withoutBody
- Specified by:
withoutBody
in interfaceHttpResponse
-
getReasonPhrase
- Specified by:
getReasonPhrase
in interfaceHttpResponse
-