Package | Description |
---|---|
ej.hoka.auth.session |
Utility classes to quickly setup authentication using cookie-based sessions.
|
ej.hoka.http |
Base HTTP handling classes.
|
ej.hoka.http.requesthandler |
Classes used to process a HTTPRequest and produce a HTTP Response.
|
ej.hoka.rest |
This package gather classes used for exposing a REST API.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatedRequestHandler
A request handler that requires the user to be authenticated using cookie-based sessions to access the sub-handlers.
|
class |
RestAuthenticatedRequestHandler
An implementation of
AuthenticatedRequestHandler for REST. |
Constructor and Description |
---|
HTTPServer(int port,
int maxSimultaneousConnection,
int jobCount,
RequestHandler requestHandler)
|
HTTPServer(int port,
int maxSimultaneousConnection,
int jobCount,
RequestHandler requestHandler,
javax.net.ServerSocketFactory serverSocketFactory)
|
HTTPServer(int port,
int maxSimultaneousConnection,
int jobCount,
RequestHandler requestHandler,
javax.net.ServerSocketFactory serverSocketFactory,
int keepAliveDuration)
|
HTTPServer(TCPServer tcpServer,
int jobCount,
RequestHandler requestHandler)
Constructs a HTTP server that manage jobs to handle the connections from
tcpServer with
requestHandler . |
HTTPServer(TCPServer tcpServer,
int jobCount,
RequestHandler requestHandler,
HTTPEncodingRegistry encodingRegistry)
Constructs a HTTP server that manage jobs to handle the connections from
tcpServer with
requestHandler . |
Modifier and Type | Class and Description |
---|---|
class |
RequestHandlerComposite
A handler that delegates the process of the request to an array of
RequestHandler . |
class |
ResourceRequestHandler
Resource Request Handler implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestHandlerComposite.addRequestHandler(RequestHandler handler)
Adds a
RequestHandler in the list. |
Modifier and Type | Class and Description |
---|---|
class |
RestRequestHandler
A request handler that exposes a REST API.
|