| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final ContentType | |
| private final String | |
| private static final long | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | HttpResponseException(final int
the HTTP status code statusCode, final String the reason phrase associated with the HTTP status code reasonPhrase)Constructs a new instance of |
| public | HttpResponseException(final int
the HTTP status code statusCode, final String the reason phrase associated with the HTTP status code reasonPhrase, final byte[] the content bytes of the HTTP response contentBytes, final ContentType the content type of the HTTP response contentType)Constructs a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public ContentType | |
| public String | |
| public int |
| contentBytes | back to summary |
|---|---|
| private final byte[] contentBytes | |
| contentType | back to summary |
|---|---|
| private final ContentType contentType | |
| reasonPhrase | back to summary |
|---|---|
| private final String reasonPhrase | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| statusCode | back to summary |
|---|---|
| private final int statusCode | |
| HttpResponseException | back to summary |
|---|---|
| public HttpResponseException(final int statusCode, final String reasonPhrase) Constructs a new instance of
| |
| HttpResponseException | back to summary |
|---|---|
| public HttpResponseException(final int statusCode, final String reasonPhrase, final byte[] contentBytes, final ContentType contentType) Constructs a new instance of
| |
| getContentBytes | back to summary |
|---|---|
| public byte[] getContentBytes() | |
| getContentType | back to summary |
|---|---|
| public ContentType getContentType() | |
| getReasonPhrase | back to summary |
|---|---|
| public String getReasonPhrase() | |
| getStatusCode | back to summary |
|---|---|
| public int getStatusCode() | |