org.webbitserver.netty
Class NettyHttpControl
java.lang.Object
org.webbitserver.netty.NettyHttpControl
- All Implemented Interfaces:
- Executor, HttpControl
public class NettyHttpControl
- extends Object
- implements HttpControl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyHttpControl
public NettyHttpControl(Iterator<HttpHandler> handlerIterator,
Executor executor,
org.jboss.netty.channel.ChannelHandlerContext ctx,
NettyHttpRequest webbitHttpRequest,
NettyHttpResponse webbitHttpResponse,
org.jboss.netty.handler.codec.http.HttpRequest nettyHttpRequest,
org.jboss.netty.handler.codec.http.HttpResponse nettyHttpResponse,
Thread.UncaughtExceptionHandler exceptionHandler,
Thread.UncaughtExceptionHandler ioExceptionHandler)
nextHandler
public void nextHandler()
- Specified by:
nextHandler in interface HttpControl
nextHandler
public void nextHandler(HttpRequest request,
HttpResponse response)
- Specified by:
nextHandler in interface HttpControl
nextHandler
public void nextHandler(HttpRequest request,
HttpResponse response,
HttpControl control)
- Specified by:
nextHandler in interface HttpControl
upgradeToWebSocketConnection
public WebSocketConnection upgradeToWebSocketConnection(WebSocketHandler webSocketHandler)
- Specified by:
upgradeToWebSocketConnection in interface HttpControl
webSocketConnection
public NettyWebSocketConnection webSocketConnection()
- Specified by:
webSocketConnection in interface HttpControl
upgradeToEventSourceConnection
public NettyEventSourceConnection upgradeToEventSourceConnection(EventSourceHandler eventSourceHandler)
- Specified by:
upgradeToEventSourceConnection in interface HttpControl
eventSourceConnection
public NettyEventSourceConnection eventSourceConnection()
- Specified by:
eventSourceConnection in interface HttpControl
handlerExecutor
public Executor handlerExecutor()
- Specified by:
handlerExecutor in interface HttpControl
execute
public void execute(Runnable command)
- Specified by:
execute in interface Executor
Copyright © 2012. All Rights Reserved.