public class ShareableChannelHandlerFactory extends DefaultChannelHandlerFactory
ChannelHandlerFactory
returning a shareable ChannelHandler
.Constructor and Description |
---|
ShareableChannelHandlerFactory(io.netty.channel.ChannelHandler channelHandler) |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelHandler |
newChannelHandler()
Creates a new
ChannelHandler to be used. |
exceptionCaught, handlerAdded, handlerRemoved
public ShareableChannelHandlerFactory(io.netty.channel.ChannelHandler channelHandler)
public io.netty.channel.ChannelHandler newChannelHandler()
ChannelHandlerFactory
ChannelHandler
to be used.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.