| Class | Description |
|---|---|
| ContentType |
Simple class for parsing and generating Content-Type header values, per
RFC 2045 (MIME) and 2616 (HTTP 1.1).
|
| CookieX |
An extended cookie implementation that rejects illegal values.
|
| HTTPServletRequestX |
Servlet request utilities.
|
| HTTPServletResponseX |
Servlet response utilities.
|
| Enum | Description |
|---|---|
| Browser |
A web browser.
|
| Exception | Description |
|---|---|
| HTTPRequestException |
Thrown in response to an erroneous HTTP request.
|
JsonWriter throws an exception if the written JSON is imperfect (Gson 1.7). So be sure to close it using a try-with-resources block, which has a suppression capability, rather than a try-finally block which might mask a previously thrown exception.