Package org.zalando.logbook
Interface ForwardingHttpResponse
- All Superinterfaces:
ForwardingHttpMessage
,HttpMessage
,HttpResponse
@API(status=STABLE) public interface ForwardingHttpResponse extends ForwardingHttpMessage, HttpResponse
-
Method Summary
Modifier and Type Method Description HttpResponse
delegate()
default java.lang.String
getReasonPhrase()
default int
getStatus()
default HttpResponse
withBody()
default HttpResponse
withoutBody()
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:
java.io.IOException
-
withoutBody
- Specified by:
withoutBody
in interfaceHttpResponse
-
getReasonPhrase
default java.lang.String getReasonPhrase()- Specified by:
getReasonPhrase
in interfaceHttpResponse
-