content
HTTP response content or
null for none.SerializableImplementation is not thread safe.
private final Stringnull for none.private final HttpHeadersprivate static final longprivate final intprivate final Stringnull. HttpResponseException(HttpResponse response) protected static StringBuildercomputeMessageBuffer(HttpResponse response) final Stringnull for none.final int0 for none.final Stringnull for none.final boolean>= 200 && < 300 (see
getStatusCode()).addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringnull.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.