Package | Description |
---|---|
ej.hoka.http |
Base HTTP handling classes.
|
ej.hoka.http.body |
Classes used to manage the body of a HTTPRequest.
|
Modifier and Type | Method and Description |
---|---|
protected abstract HTTPResponse |
HTTPSession.answer(HTTPRequest request)
Generates
HTTPResponse to a HTTPRequest . |
HTTPResponse |
DefaultHTTPSession.answer(HTTPRequest request)
The generic behaviour of this session implementation is to find a resource matching the given URI in the
classpath.
|
java.io.InputStream |
IHTTPTransferCodingHandler.open(HTTPRequest request,
java.io.InputStream input)
Opens an
InputStream that can be used to decode message body of the given request. |
java.io.InputStream |
IdentityTransferCodingHandler.open(HTTPRequest request,
java.io.InputStream input)
Creates a new instance of
IdentityMessageBodyInputStream to read the message body of the HTTP request. |
java.io.InputStream |
ChunkedTransferCodingHandler.open(HTTPRequest request,
java.io.InputStream input)
Creates a
ChunkedMessageBodyInputStream to read the body of the HTTP request in "chunked" encoding from
the HTTPRequest and the InputStream . |
Modifier and Type | Method and Description |
---|---|
BodyParser |
StringBodyParserFactory.newBodyParser(HTTPRequest request) |
BodyParser |
BodyParserFactory.newBodyParser(HTTPRequest request) |
void |
StringBodyParser.parseBody(HTTPRequest httpRequest) |
void |
MultiPartBodyParser.parseBody(HTTPRequest httpRequest)
Initialize the parsing, must be called before
MultiPartBodyParser.nextPart() . |
void |
BodyParser.parseBody(HTTPRequest httpRequest)
Parse the body.
|