@Singleton public class HttpHandlerImpl extends Object implements HttpHandler
Constructor and Description |
---|
HttpHandlerImpl(com.google.inject.Injector injector,
RequestScope requestScope,
Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
String path,
ParserExecutor parserExecutor,
Set<Renderer> renderers,
Set<Err.Handler> err,
Charset charset,
List<Locale> locale) |
Modifier and Type | Method and Description |
---|---|
void |
handle(NativeRequest request,
NativeResponse response)
Handle an incoming HTTP request.
|
@Inject public HttpHandlerImpl(com.google.inject.Injector injector, RequestScope requestScope, Set<Route.Definition> routes, Set<WebSocket.Definition> sockets, @Named(value="application.path") String path, ParserExecutor parserExecutor, Set<Renderer> renderers, Set<Err.Handler> err, Charset charset, List<Locale> locale)
public void handle(NativeRequest request, NativeResponse response) throws Exception
HttpHandler
handle
in interface HttpHandler
request
- HTTP request.response
- HTTP response.Exception
- If execution resulted in exception.Copyright © 2016. All rights reserved.