Package org.zalando.logbook
Interface HttpResponse
- All Superinterfaces:
HttpMessage
- All Known Subinterfaces:
ForwardingHttpResponse
@API(status=STABLE) public interface HttpResponse extends HttpMessage
-
Method Summary
Modifier and Type Method Description default java.lang.String
getReasonPhrase()
int
getStatus()
HttpResponse
withBody()
HttpResponse
withoutBody()
Methods inherited from interface org.zalando.logbook.HttpMessage
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
-
Method Details
-
getStatus
int getStatus() -
withBody
- Throws:
java.io.IOException
-
withoutBody
HttpResponse withoutBody() -
getReasonPhrase
default java.lang.String getReasonPhrase()
-