HttpServerRequestHandler implementation that makes use of
HttpRequestMapper to dispatch the request to a particular
HttpRequestHandler for processing.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpRequestMapper | |
| private final HttpResponseFactory |
| Access | Constructor and Description |
|---|---|
| public | BasicHttpServerRequestHandler(final HttpRequestMapper<HttpRequestHandler> handlerMapper, final HttpResponseFactory<ClassicHttpResponse> responseFactory)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(final ClassicHttpRequest
the actual request. request, final HttpServerRequestHandler.the response trigger. responseTrigger,the actual execution context. context)Implements org. |
| handlerMapper | back to summary |
|---|---|
| private final HttpRequestMapper<HttpRequestHandler> handlerMapper | |
| responseFactory | back to summary |
|---|---|
| private final HttpResponseFactory<ClassicHttpResponse> responseFactory | |
| BasicHttpServerRequestHandler | back to summary |
|---|---|
| public BasicHttpServerRequestHandler(final HttpRequestMapper<HttpRequestHandler> handlerMapper, final HttpResponseFactory<ClassicHttpResponse> responseFactory) | |
| BasicHttpServerRequestHandler | back to summary |
|---|---|
| public BasicHttpServerRequestHandler(final HttpRequestMapper<HttpRequestHandler> handlerMapper) | |
| handle | back to summary |
|---|---|
| public void handle(final ClassicHttpRequest request, final HttpServerRequestHandler. Implements org. Doc from org. Handles the request and submits a final response to be sent back to the client.
| |