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 |
|---|---|
| AuthenticateHeaderParser | |
| AuthenticateHeaderParser.AuthParam | |
| AuthenticateHeaderParser.Challenge | |
| AuthenticateHeaderParser.ChallengeWithAuthParams | |
| AuthenticateHeaderParser.Token68Challenge | |
| HttpClient |
Implementation of an HTTP client.
|
| HttpClientConnectionHandler |
A container for
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 | Deprecated
Use a
TcpServer and pass it an HttpClientConnectionHandler |
| MessageHeader |
Representation of an HTTP header.
|
| NioHttpServer |
Implementation of an HTTP server.
|
| ParametrizedHeaderValue |
Parser for a "parametrized value" as defined in several HTTP-related RFCs.
|
| Enum | Description |
|---|---|
| HttpMessage.HasBody | |
| 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. |
Copyright © 2018 Arno Unkrig. All rights reserved.