@API(status=STABLE) public interface HttpResponse extends HttpMessage
Modifier and Type | Method and Description |
---|---|
default String |
getReasonPhrase() |
int |
getStatus() |
HttpResponse |
withBody() |
HttpResponse |
withoutBody() |
getBody, getBodyAsString, getCharset, getContentType, getHeaders, getOrigin, getProtocolVersion
int getStatus()
HttpResponse withBody() throws IOException
IOException
HttpResponse withoutBody()
default String getReasonPhrase()
Copyright © 2015–2021 Zalando SE. All rights reserved.