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 HttpAttributesdefault Stringdefault intdefault HttpResponsewithBody()default HttpResponseMethods inherited from interface org.zalando.logbook.ForwardingHttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
Method Details
-
delegate
HttpResponse delegate()- Specified by:
delegatein interfaceForwardingHttpMessage
-
getStatus
default int getStatus()- Specified by:
getStatusin interfaceHttpResponse
-
withBody
- Specified by:
withBodyin interfaceHttpResponse- Throws:
IOException
-
withoutBody
- Specified by:
withoutBodyin interfaceHttpResponse
-
getReasonPhrase
- Specified by:
getReasonPhrasein interfaceHttpResponse
-
getAttributes
- Specified by:
getAttributesin interfaceHttpResponse
-