| 程序包 | 说明 | 
|---|---|
| org.jboss.netty.bootstrap | 
 IoC/DI friendly helper classes which enable an easy implementation of
 typical client side and server side channel initialization. 
 | 
| org.jboss.netty.channel | 
 The core channel API which is asynchronous and event-driven abstraction of
 various transports such as a
 NIO Channel. 
 | 
| org.jboss.netty.channel.group | 
 A channel registry which helps a user maintain the list of open
  
Channels and perform bulk operations on them. | 
| org.jboss.netty.channel.socket | 
 Abstract TCP and UDP socket interfaces which extend the core channel API. 
 | 
| org.jboss.netty.channel.socket.nio | 
 NIO-based socket channel
 API implementation - recommended for a large number of connections (>= 1000). 
 | 
| org.jboss.netty.channel.socket.oio | 
 Old blocking I/O based socket channel API implementation - recommended for
 a small number of connections (< 1000). 
 | 
| org.jboss.netty.handler.codec.compression | 
 Encoder and decoder which compresses and decompresses  
ChannelBuffers
 in a compression format such as zlib
 and gzip. | 
| org.jboss.netty.handler.codec.http.websocketx | 
 Encoder, decoder, handshakers and their related message types for
 Web Socket data frames. 
 | 
| org.jboss.netty.handler.codec.spdy | 
 Encoder, decoder, session handler and their related message types for the SPDY protocol. 
 | 
| org.jboss.netty.handler.ipfilter | 
 Implementation of a Ip based Filter handlers. 
 | 
| org.jboss.netty.handler.ssl | 
 SSL ·
 TLS implementation based on  
SSLEngine | 
| org.jboss.netty.handler.timeout | 
 Adds support for read and write timeout and idle connection notification
 using a  
Timer. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
ClientBootstrap.bind(java.net.SocketAddress localAddress)
Attempts to bind a channel with the specified  
localAddress. later the channel can
 be connected to a remoteAddress by calling Channel.connect(SocketAddress).This method
 is useful where bind and connect need to be done in separate steps. | 
ChannelFuture | 
ServerBootstrap.bindAsync()
Bind a channel asynchronous to the local address
 specified in the current  
"localAddress" option. | 
ChannelFuture | 
ServerBootstrap.bindAsync(java.net.SocketAddress localAddress)
Bind a channel asynchronous to the specified local address. 
 | 
ChannelFuture | 
ConnectionlessBootstrap.connect()
Creates a new connected channel with the current  
"remoteAddress"
 and "localAddress" option. | 
ChannelFuture | 
ClientBootstrap.connect()
Attempts a new connection with the current  
"remoteAddress" and
 "localAddress" option. | 
ChannelFuture | 
ConnectionlessBootstrap.connect(java.net.SocketAddress remoteAddress)
Creates a new connected channel with the specified
  
"remoteAddress" and the current "localAddress" option. | 
ChannelFuture | 
ClientBootstrap.connect(java.net.SocketAddress remoteAddress)
Attempts a new connection with the specified  
remoteAddress and
 the current "localAddress" option. | 
ChannelFuture | 
ConnectionlessBootstrap.connect(java.net.SocketAddress remoteAddress,
       java.net.SocketAddress localAddress)
Creates a new connected channel with the specified
  
"remoteAddress" and the specified "localAddress". | 
ChannelFuture | 
ClientBootstrap.connect(java.net.SocketAddress remoteAddress,
       java.net.SocketAddress localAddress)
Attempts a new connection with the specified  
remoteAddress and
 the specified localAddress. | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
CompleteChannelFuture
A skeletal  
ChannelFuture implementation which represents a
 ChannelFuture which has been completed already. | 
class  | 
DefaultChannelFuture
The default  
ChannelFuture implementation. | 
class  | 
FailedChannelFuture
The  
CompleteChannelFuture which is failed already. | 
class  | 
SucceededChannelFuture
The  
CompleteChannelFuture which is succeeded already. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
DefaultChannelFuture.await()  | 
ChannelFuture | 
CompleteChannelFuture.await()  | 
ChannelFuture | 
ChannelFuture.await()
Waits for this future to be completed. 
 | 
ChannelFuture | 
DefaultChannelFuture.awaitUninterruptibly()  | 
ChannelFuture | 
CompleteChannelFuture.awaitUninterruptibly()  | 
ChannelFuture | 
ChannelFuture.awaitUninterruptibly()
Waits for this future to be completed without
 interruption. 
 | 
static ChannelFuture | 
Channels.bind(Channel channel,
    java.net.SocketAddress localAddress)
Sends a  
"bind" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
ChannelFuture | 
Channel.bind(java.net.SocketAddress localAddress)
Binds this channel to the specified local address asynchronously. 
 | 
ChannelFuture | 
AbstractChannel.bind(java.net.SocketAddress localAddress)  | 
ChannelFuture | 
Channel.close()
Closes this channel asynchronously. 
 | 
ChannelFuture | 
AbstractChannel.close()  | 
static ChannelFuture | 
Channels.close(Channel channel)
Sends a  
"close" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
static ChannelFuture | 
Channels.connect(Channel channel,
       java.net.SocketAddress remoteAddress)
Sends a  
"connect" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
ChannelFuture | 
Channel.connect(java.net.SocketAddress remoteAddress)
Connects this channel to the specified remote address asynchronously. 
 | 
ChannelFuture | 
AbstractServerChannel.connect(java.net.SocketAddress remoteAddress)  | 
ChannelFuture | 
AbstractChannel.connect(java.net.SocketAddress remoteAddress)  | 
ChannelFuture | 
Channel.disconnect()
Disconnects this channel from the current remote address asynchronously. 
 | 
ChannelFuture | 
AbstractServerChannel.disconnect()  | 
ChannelFuture | 
AbstractChannel.disconnect()  | 
static ChannelFuture | 
Channels.disconnect(Channel channel)
Sends a  
"disconnect" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
ChannelFuture | 
ChannelSink.execute(ChannelPipeline pipeline,
       java.lang.Runnable task)
Execute the given  
Runnable later in the io-thread. | 
ChannelFuture | 
AbstractChannelSink.execute(ChannelPipeline pipeline,
       java.lang.Runnable task)
This implementation just directly call  
Runnable.run(). | 
ChannelFuture | 
DefaultChannelPipeline.execute(java.lang.Runnable task)  | 
ChannelFuture | 
ChannelPipeline.execute(java.lang.Runnable task)
Schedules the specified task to be executed in the I/O thread associated
 with this pipeline's  
Channel. | 
static ChannelFuture | 
Channels.failedFuture(Channel channel,
            java.lang.Throwable cause)
Creates a new  
ChannelFuture which has failed already for the
 specified Channel. | 
static ChannelFuture | 
Channels.fireChannelClosedLater(Channel channel)
Sends a  
"channelClosed" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireChannelDisconnectedLater(Channel channel)
Sends a  
"channelDisconnected" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireChannelInterestChangedLater(Channel channel)
Sends a  
"channelInterestChanged" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireChannelUnboundLater(Channel channel)
Sends a  
"channelUnbound" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireExceptionCaughtLater(ChannelHandlerContext ctx,
                        java.lang.Throwable cause)
Sends a  
"exceptionCaught" event to the
 ChannelUpstreamHandler which is placed in the closest upstream
 from the handler associated with the specified
 ChannelHandlerContext once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireExceptionCaughtLater(Channel channel,
                        java.lang.Throwable cause)
Sends a  
"exceptionCaught" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel once the io-thread runs again. | 
static ChannelFuture | 
Channels.fireWriteCompleteLater(Channel channel,
                      long amount)
Sends a  
"writeComplete" event to the first
 ChannelUpstreamHandler in the ChannelPipeline of
 the specified Channel in the next io-thread. | 
static ChannelFuture | 
Channels.future(Channel channel)
Creates a new non-cancellable  
ChannelFuture for the specified
 Channel. | 
static ChannelFuture | 
Channels.future(Channel channel,
      boolean cancellable)
Creates a new  
ChannelFuture for the specified Channel. | 
ChannelFuture | 
Channel.getCloseFuture()
Returns the  
ChannelFuture which will be notified when this
 channel is closed. | 
ChannelFuture | 
AbstractChannel.getCloseFuture()  | 
ChannelFuture | 
UpstreamMessageEvent.getFuture()  | 
ChannelFuture | 
UpstreamChannelStateEvent.getFuture()  | 
ChannelFuture | 
DownstreamMessageEvent.getFuture()  | 
ChannelFuture | 
DownstreamChannelStateEvent.getFuture()  | 
ChannelFuture | 
DefaultWriteCompletionEvent.getFuture()  | 
ChannelFuture | 
DefaultExceptionEvent.getFuture()  | 
ChannelFuture | 
DefaultChildChannelStateEvent.getFuture()  | 
ChannelFuture | 
ChannelEvent.getFuture()
Returns the  
ChannelFuture which is associated with this event. | 
protected ChannelFuture | 
AbstractChannel.getSucceededFuture()
Returns the cached  
SucceededChannelFuture instance. | 
protected ChannelFuture | 
AbstractChannel.getUnsupportedOperationFuture()
Returns the  
FailedChannelFuture whose cause is an
 UnsupportedOperationException. | 
static ChannelFuture | 
Channels.setInterestOps(Channel channel,
              int interestOps)
Sends a  
"setInterestOps" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
ChannelFuture | 
Channel.setInterestOps(int interestOps)
Changes the  
interestOps of this channel asynchronously. | 
ChannelFuture | 
AbstractServerChannel.setInterestOps(int interestOps)  | 
ChannelFuture | 
AbstractChannel.setInterestOps(int interestOps)  | 
ChannelFuture | 
Channel.setReadable(boolean readable)
Suspends or resumes the read operation of the I/O thread asynchronously. 
 | 
ChannelFuture | 
AbstractChannel.setReadable(boolean readable)  | 
static ChannelFuture | 
Channels.succeededFuture(Channel channel)
Creates a new  
ChannelFuture which is already succeeded for the
 specified Channel. | 
ChannelFuture | 
SucceededChannelFuture.sync()  | 
ChannelFuture | 
FailedChannelFuture.sync()  | 
ChannelFuture | 
DefaultChannelFuture.sync()  | 
ChannelFuture | 
ChannelFuture.sync()
Waits for this future until it is done, and rethrows the cause of the failure if this future
 failed. 
 | 
ChannelFuture | 
SucceededChannelFuture.syncUninterruptibly()  | 
ChannelFuture | 
FailedChannelFuture.syncUninterruptibly()  | 
ChannelFuture | 
DefaultChannelFuture.syncUninterruptibly()  | 
ChannelFuture | 
ChannelFuture.syncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future
 failed. 
 | 
ChannelFuture | 
Channel.unbind()
Unbinds this channel from the current local address asynchronously. 
 | 
ChannelFuture | 
AbstractChannel.unbind()  | 
static ChannelFuture | 
Channels.unbind(Channel channel)
Sends a  
"unbind" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
static ChannelFuture | 
Channels.write(Channel channel,
     java.lang.Object message)
Sends a  
"write" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
static ChannelFuture | 
Channels.write(Channel channel,
     java.lang.Object message,
     java.net.SocketAddress remoteAddress)
Sends a  
"write" request to the last
 ChannelDownstreamHandler in the ChannelPipeline of
 the specified Channel. | 
ChannelFuture | 
Channel.write(java.lang.Object message)
Sends a message to this channel asynchronously. 
 | 
ChannelFuture | 
AbstractServerChannel.write(java.lang.Object message)  | 
ChannelFuture | 
AbstractChannel.write(java.lang.Object message)  | 
ChannelFuture | 
Channel.write(java.lang.Object message,
     java.net.SocketAddress remoteAddress)
Sends a message to this channel asynchronously. 
 | 
ChannelFuture | 
AbstractServerChannel.write(java.lang.Object message,
     java.net.SocketAddress remoteAddress)  | 
ChannelFuture | 
AbstractChannel.write(java.lang.Object message,
     java.net.SocketAddress remoteAddress)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
static void | 
Channels.bind(ChannelHandlerContext ctx,
    ChannelFuture future,
    java.net.SocketAddress localAddress)
Sends a  
"bind" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.close(ChannelHandlerContext ctx,
     ChannelFuture future)
Sends a  
"close" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.connect(ChannelHandlerContext ctx,
       ChannelFuture future,
       java.net.SocketAddress remoteAddress)
Sends a  
"connect" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.disconnect(ChannelHandlerContext ctx,
          ChannelFuture future)
Sends a  
"disconnect" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
void | 
ChannelFutureNotifier.operationComplete(ChannelFuture cf)  | 
void | 
ChannelFutureListener.operationComplete(ChannelFuture future)
Invoked when the I/O operation associated with the  
ChannelFuture
 has been completed. | 
void | 
ChannelFutureProgressListener.operationProgressed(ChannelFuture future,
                   long amount,
                   long current,
                   long total)
Invoked when the I/O operation associated with the  
ChannelFuture
 has been progressed. | 
static void | 
Channels.setInterestOps(ChannelHandlerContext ctx,
              ChannelFuture future,
              int interestOps)
Sends a  
"setInterestOps" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.unbind(ChannelHandlerContext ctx,
      ChannelFuture future)
Sends a  
"unbind" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.write(ChannelHandlerContext ctx,
     ChannelFuture future,
     java.lang.Object message)
Sends a  
"write" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
static void | 
Channels.write(ChannelHandlerContext ctx,
     ChannelFuture future,
     java.lang.Object message,
     java.net.SocketAddress remoteAddress)
Sends a  
"write" request to the
 ChannelDownstreamHandler which is placed in the closest
 downstream from the handler associated with the specified
 ChannelHandlerContext. | 
| 构造器和说明 | 
|---|
ChannelFutureNotifier(ChannelFuture future)  | 
DownstreamChannelStateEvent(Channel channel,
                           ChannelFuture future,
                           ChannelState state,
                           java.lang.Object value)
Creates a new instance. 
 | 
DownstreamMessageEvent(Channel channel,
                      ChannelFuture future,
                      java.lang.Object message,
                      java.net.SocketAddress remoteAddress)
Creates a new instance. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
DefaultChannelGroupFuture.find(Channel channel)  | 
ChannelFuture | 
ChannelGroupFuture.find(Channel channel)
Returns the  
ChannelFuture of the individual I/O operation which
 is associated with the specified Channel. | 
ChannelFuture | 
DefaultChannelGroupFuture.find(java.lang.Integer channelId)  | 
ChannelFuture | 
ChannelGroupFuture.find(java.lang.Integer channelId)
Returns the  
ChannelFuture of the individual I/O operation which
 is associated with the Channel whose ID matches the specified
 integer. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
java.util.Iterator<ChannelFuture> | 
DefaultChannelGroupFuture.iterator()  | 
java.util.Iterator<ChannelFuture> | 
ChannelGroupFuture.iterator()
Returns the  
Iterator that enumerates all ChannelFutures
 which are associated with this future. | 
| 构造器和说明 | 
|---|
DefaultChannelGroupFuture(ChannelGroup group,
                         java.util.Collection<ChannelFuture> futures)
Creates a new instance. 
 | 
| 限定符和类型 | 类和说明 | 
|---|---|
class  | 
ChannelRunnableWrapper  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
DatagramChannel.joinGroup(java.net.InetAddress multicastAddress)
Joins a multicast group. 
 | 
ChannelFuture | 
DatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
         java.net.NetworkInterface networkInterface)
Joins the specified multicast group at the specified interface. 
 | 
ChannelFuture | 
DatagramChannel.leaveGroup(java.net.InetAddress multicastAddress)
Leaves a multicast group. 
 | 
ChannelFuture | 
DatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
          java.net.NetworkInterface networkInterface)
Leaves a multicast group on a specified local interface. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
     java.net.InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress 
 | 
ChannelFuture | 
NioDatagramChannel.block(java.net.InetAddress multicastAddress,
     java.net.NetworkInterface networkInterface,
     java.net.InetAddress sourceToBlock)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface 
 | 
ChannelFuture | 
AbstractNioChannelSink.execute(ChannelPipeline pipeline,
       java.lang.Runnable task)  | 
ChannelFuture | 
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress)  | 
ChannelFuture | 
NioDatagramChannel.joinGroup(java.net.InetAddress multicastAddress,
         java.net.NetworkInterface networkInterface,
         java.net.InetAddress source)
Joins the specified multicast group at the specified interface using the specified source. 
 | 
ChannelFuture | 
NioDatagramChannel.joinGroup(java.net.InetSocketAddress multicastAddress,
         java.net.NetworkInterface networkInterface)  | 
ChannelFuture | 
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress)  | 
ChannelFuture | 
NioDatagramChannel.leaveGroup(java.net.InetAddress multicastAddress,
          java.net.NetworkInterface networkInterface,
          java.net.InetAddress source)
Leave the specified multicast group at the specified interface using the specified source. 
 | 
ChannelFuture | 
NioDatagramChannel.leaveGroup(java.net.InetSocketAddress multicastAddress,
          java.net.NetworkInterface networkInterface)  | 
ChannelFuture | 
NioSocketChannel.write(java.lang.Object message,
     java.net.SocketAddress remoteAddress)  | 
ChannelFuture | 
NioDatagramChannel.write(java.lang.Object message,
     java.net.SocketAddress remoteAddress)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
protected java.lang.Runnable | 
NioWorker.createRegisterTask(Channel channel,
                  ChannelFuture future)  | 
protected java.lang.Runnable | 
NioServerBoss.createRegisterTask(Channel channel,
                  ChannelFuture future)  | 
protected java.lang.Runnable | 
NioDatagramWorker.createRegisterTask(Channel channel,
                  ChannelFuture future)  | 
protected java.lang.Runnable | 
NioClientBoss.createRegisterTask(Channel channel,
                  ChannelFuture future)  | 
void | 
NioSelector.register(Channel channel,
        ChannelFuture future)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
AbstractOioChannelSink.execute(ChannelPipeline pipeline,
       java.lang.Runnable task)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
ZlibEncoder.close()  | 
ChannelFuture | 
JdkZlibEncoder.close()  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
WebSocketServerHandshaker13.close(Channel channel,
     CloseWebSocketFrame frame)
Echo back the closing frame and close the connection 
 | 
ChannelFuture | 
WebSocketServerHandshaker08.close(Channel channel,
     CloseWebSocketFrame frame)
Echo back the closing frame and close the connection 
 | 
ChannelFuture | 
WebSocketServerHandshaker07.close(Channel channel,
     CloseWebSocketFrame frame)
Echo back the closing frame and close the connection 
 | 
ChannelFuture | 
WebSocketServerHandshaker00.close(Channel channel,
     CloseWebSocketFrame frame)
Echo back the closing frame 
 | 
abstract ChannelFuture | 
WebSocketServerHandshaker.close(Channel channel,
     CloseWebSocketFrame frame)
Performs the closing handshake 
 | 
ChannelFuture | 
WebSocketClientHandshaker13.handshake(Channel channel)
/**
 
 Sends the opening request to the server:
 
 
 GET /chat HTTP/1.1
 Host: server.example.com
 Upgrade: websocket
 Connection: Upgrade
 Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
 Sec-WebSocket-Origin: http://example.com
 Sec-WebSocket-Protocol: chat, superchat
 Sec-WebSocket-Version: 13
  
 | 
ChannelFuture | 
WebSocketClientHandshaker08.handshake(Channel channel)
/**
 
 Sends the opening request to the server:
 
 
 GET /chat HTTP/1.1
 Host: server.example.com
 Upgrade: websocket
 Connection: Upgrade
 Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
 Sec-WebSocket-Origin: http://example.com
 Sec-WebSocket-Protocol: chat, superchat
 Sec-WebSocket-Version: 8
  
 | 
ChannelFuture | 
WebSocketClientHandshaker07.handshake(Channel channel)
/**
 
 Sends the opening request to the server:
 
 
 GET /chat HTTP/1.1
 Host: server.example.com
 Upgrade: websocket
 Connection: Upgrade
 Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
 Sec-WebSocket-Origin: http://example.com
 Sec-WebSocket-Protocol: chat, superchat
 Sec-WebSocket-Version: 7
  
 | 
ChannelFuture | 
WebSocketClientHandshaker00.handshake(Channel channel)
 Sends the opening request to the server:
 
 
 GET /demo HTTP/1.1
 Upgrade: WebSocket
 Connection: Upgrade
 Host: example.com
 Origin: http://example.com
 Sec-WebSocket-Key1: 4 @1  46546xW%0l 1 5
 Sec-WebSocket-Key2: 12998 5 Y3 1  .P00
 ^n:ds[4U
  
 | 
abstract ChannelFuture | 
WebSocketClientHandshaker.handshake(Channel channel)
Begins the opening handshake 
 | 
ChannelFuture | 
WebSocketServerHandshaker13.handshake(Channel channel,
         HttpRequest req)
 Handle the web socket handshake for the web socket specification HyBi
 versions 13-17. 
 | 
ChannelFuture | 
WebSocketServerHandshaker08.handshake(Channel channel,
         HttpRequest req)
 Handle the web socket handshake for the web socket specification HyBi version 8 to 10. 
 | 
ChannelFuture | 
WebSocketServerHandshaker07.handshake(Channel channel,
         HttpRequest req)
 Handle the web socket handshake for the web socket specification HyBi version 7. 
 | 
ChannelFuture | 
WebSocketServerHandshaker00.handshake(Channel channel,
         HttpRequest req)
 Handle the web socket handshake for the web socket specification HyBi version 0 and lower. 
 | 
abstract ChannelFuture | 
WebSocketServerHandshaker.handshake(Channel channel,
         HttpRequest req)
Performs the opening handshake 
 | 
ChannelFuture | 
WebSocketServerHandshakerFactory.sendUnsupportedWebSocketVersionResponse(Channel channel)
Return that we need cannot not support the web socket version 
 | 
protected ChannelFuture | 
WebSocketServerHandshaker.writeHandshakeResponse(Channel channel,
                      HttpResponse res,
                      ChannelHandler encoder,
                      ChannelHandler decoder)
Upgrades the connection and send the handshake response. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
protected void | 
SpdyHttpEncoder.writeChunk(ChannelHandlerContext ctx,
          ChannelFuture future,
          int streamId,
          HttpChunk chunk,
          java.net.SocketAddress remoteAddress)
Writes an HTTP chunk downstream as one or more SPDY frames. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
IpFilterListener.allowed(ChannelHandlerContext ctx,
       ChannelEvent e,
       java.net.InetSocketAddress inetSocketAddress)
Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept(). 
 | 
protected ChannelFuture | 
IpFilteringHandlerImpl.handleAllowedChannel(ChannelHandlerContext ctx,
                    ChannelEvent e,
                    java.net.InetSocketAddress inetSocketAddress)  | 
protected ChannelFuture | 
IpFilteringHandlerImpl.handleRefusedChannel(ChannelHandlerContext ctx,
                    ChannelEvent e,
                    java.net.InetSocketAddress inetSocketAddress)
Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). 
 | 
ChannelFuture | 
IpFilterListener.refused(ChannelHandlerContext ctx,
       ChannelEvent e,
       java.net.InetSocketAddress inetSocketAddress)
Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
SslHandler.close()
Sends an SSL  
close_notify message to the specified channel and
 destroys the underlying SSLEngine. | 
ChannelFuture | 
SslHandler.getSSLEngineInboundCloseFuture()
Return the  
ChannelFuture that will get notified if the inbound of the SSLEngine will get closed. | 
ChannelFuture | 
SslHandler.handshake()
Starts an SSL / TLS handshake for the specified channel. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
ChannelFuture | 
DefaultIdleStateEvent.getFuture()  |