public class WebSocketServerExtensionHandler extends ChannelHandlerAdapter
ChannelHandler.Sharable, ChannelHandler.Skip| Constructor and Description | 
|---|
| WebSocketServerExtensionHandler(WebSocketServerExtensionHandshaker... extensionHandshakers)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | channelRead(ChannelHandlerContext ctx,
           Object msg)Calls  ChannelHandlerContext.fireChannelRead(Object)to forward
 to the nextChannelHandlerin theChannelPipeline. | 
| void | write(ChannelHandlerContext ctx,
     Object msg,
     ChannelPromise promise)Calls  ChannelHandlerContext.write(Object)to forward
 to the nextChannelHandlerin theChannelPipeline. | 
bind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggeredpublic WebSocketServerExtensionHandler(WebSocketServerExtensionHandshaker... extensionHandshakers)
extensionHandshakers - The extension handshaker in priority order. A handshaker could be repeated many times
      with fallback configuration.public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception
ChannelHandlerAdapterChannelHandlerContext.fireChannelRead(Object) to forward
 to the next ChannelHandler in the ChannelPipeline.
 Sub-classes may override this method to change behavior.channelRead in interface ChannelHandlerchannelRead in class ChannelHandlerAdapterExceptionpublic void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception
ChannelHandlerAdapterChannelHandlerContext.write(Object) to forward
 to the next ChannelHandler in the ChannelPipeline.
 Sub-classes may override this method to change behavior.write in interface ChannelHandlerwrite in class ChannelHandlerAdapterctx - the ChannelHandlerContext for which the write operation is mademsg - the message to writepromise - the ChannelPromise to notify once the operation completesException - thrown if an error accourCopyright © 2008–2015 The Netty Project. All rights reserved.