public static class HttpRequestHandler.Default<T> extends java.lang.Object implements HttpRequestHandler<T>
HttpRequestHandler.Default<T>, HttpRequestHandler.ExceptionHandler| Constructor and Description |
|---|
Default(HandlerLocator.List<T> handlerMap,
Handler<T> defaultHandler,
HttpRequestHandler.ExceptionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
NioReader.State |
dispatch(SessionDispatcherFactory.SessionDispatcher<T> dispatcher,
HttpRequest headers,
HttpResponse response,
HeaderReader<T> reader,
NioWriter writer,
T sessionState) |
void |
onException(java.lang.Throwable processingException,
java.nio.channels.SocketChannel channel) |
public Default(HandlerLocator.List<T> handlerMap, Handler<T> defaultHandler, HttpRequestHandler.ExceptionHandler handler)
public NioReader.State dispatch(SessionDispatcherFactory.SessionDispatcher<T> dispatcher, HttpRequest headers, HttpResponse response, HeaderReader<T> reader, NioWriter writer, T sessionState)
dispatch in interface HttpRequestHandler<T>public void onException(java.lang.Throwable processingException,
java.nio.channels.SocketChannel channel)
onException in interface HttpRequestHandler<T>Copyright © 2019. All Rights Reserved.