See: Description
| Interface | Description |
|---|---|
| HttpMessage.Body |
The life cycle of a
HttpMessage.Body is as follows:
Create the object by calling one of the following methods:
HttpMessage.body(String, Charset)
HttpMessage.body(InputStream)
HttpMessage.body(File)
HttpMessage.body(ConsumerWhichThrows)
Call exactly one of the following methods:
HttpMessage.Body.string(Charset)
HttpMessage.Body.inputStream()
HttpMessage.Body.write(OutputStream)
HttpMessage.Body.dispose()
Call HttpMessage.Body.dispose() as many times as you want
Otherwise, a resource leak will occur. |
| Class | Description |
|---|---|
| HttpClient |
Implementation of an HTTP client.
|
| HttpClientConnectionHandler |
A container of
Servletts that handle requests that are received from a client connection. |
| HttpMessage |
Representation of an HTTP request or response.
|
| HttpProxy |
Implementation of a simple HTTP proxy.
|
| HttpRequest |
Representation of an HTTP request.
|
| HttpResponse |
Representation of one HTTP response.
|
| HttpServer |
Implementation of an HTTP server.
|
| MessageHeader |
Representation of an HTTP header.
|
| NioHttpServer |
Implementation of an HTTP server.
|
| ParametrizedHeaderValue |
Parser for a 'parametrized value' of an HTTP header like:
Content-Type: text/plain; charset=ASCII
'text/plain' is the so-called 'token', 'char=ASCII' is a so-called 'parameter'.
|
| Enum | Description |
|---|---|
| HttpRequest.Method |
Representation of the various HTTP methods.
|
| HttpResponse.Status |
Representation of the various HTTP response statuses.
|
| Exception | Description |
|---|---|
| InvalidHttpMessageException |
An
IOException that indicates an ill-formed HTTp request or response. |