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