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 StringgetReasonPhrase()intgetStatus()HttpResponsewithBody()HttpResponsewithoutBody()-
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()
-
-