Package org.zalando.logbook
Interface ForwardingHttpResponse
-
- All Superinterfaces:
ForwardingHttpMessage,HttpMessage,HttpResponse
@API(status=STABLE) public interface ForwardingHttpResponse extends ForwardingHttpMessage, HttpResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HttpResponsedelegate()default StringgetReasonPhrase()default intgetStatus()default HttpResponsewithBody()default HttpResponsewithoutBody()-
Methods inherited from interface org.zalando.logbook.ForwardingHttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
-
-
-
Method Detail
-
delegate
HttpResponse delegate()
- Specified by:
delegatein interfaceForwardingHttpMessage
-
getStatus
default int getStatus()
- Specified by:
getStatusin interfaceHttpResponse
-
withBody
default HttpResponse withBody() throws IOException
- Specified by:
withBodyin interfaceHttpResponse- Throws:
IOException
-
withoutBody
default HttpResponse withoutBody()
- Specified by:
withoutBodyin interfaceHttpResponse
-
getReasonPhrase
default String getReasonPhrase()
- Specified by:
getReasonPhrasein interfaceHttpResponse
-
-