content
HTTP response content or
null
for none.Serializable
Implementation is not thread safe.
private final int
private final String
null
for none.private final HttpHeaders
private static final long
private final int
private final String
null
.
HttpResponseException(HttpResponse response)
protected
static StringBuilder
computeMessageBuffer(HttpResponse response)
final int
final String
null
for none.final int
0
for none.final String
null
for none.final boolean
>= 200 && < 300
(see getStatusCode()
).addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
null
.null
for none.Callers of this constructor should call HttpResponse.disconnect()
after HttpResponseException
is instantiated. Example usage:
try { throw new HttpResponseException(response); } finally { response.disconnect(); }
response
- HTTP responsebuilder
- builder>= 200 && < 300
(see getStatusCode()
).0
for none.null
for none.null
for none.