Class InboundWebsocketChannelInitializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
- org.wso2.carbon.inbound.endpoint.protocol.websocket.InboundWebsocketChannelInitializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class InboundWebsocketChannelInitializer extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
-
Constructor Summary
Constructors Constructor Description InboundWebsocketChannelInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitChannel(io.netty.channel.socket.SocketChannel websocketChannel)voidsetClientBroadcastLevel(int clientBroadcastLevel)voidsetDispatchToCustomSequence(String dispatchToCustomSequence)voidsetInflowIdleTime(int inflowIdleTime)voidsetOutflowDispatchSequence(String outflowDispatchSequence)voidsetOutflowErrorSequence(String outflowErrorSequence)voidsetOutflowIdleTime(int outflowIdleTime)voidsetPassThroughControlFrames(boolean passThroughControlFrames)voidsetPipelineHandler(io.netty.channel.ChannelHandler name)voidsetPortOffset(int portOffset)voidsetSslConfiguration(InboundWebsocketSSLConfiguration sslConfiguration)voidsetSubprotocolHandlers(ArrayList<AbstractSubprotocolHandler> subprotocolHandlers)-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
Method Detail
-
setSslConfiguration
public void setSslConfiguration(InboundWebsocketSSLConfiguration sslConfiguration)
-
setPipelineHandler
public void setPipelineHandler(io.netty.channel.ChannelHandler name)
-
setDispatchToCustomSequence
public void setDispatchToCustomSequence(String dispatchToCustomSequence)
-
setClientBroadcastLevel
public void setClientBroadcastLevel(int clientBroadcastLevel)
-
setOutflowDispatchSequence
public void setOutflowDispatchSequence(String outflowDispatchSequence)
-
setOutflowErrorSequence
public void setOutflowErrorSequence(String outflowErrorSequence)
-
setSubprotocolHandlers
public void setSubprotocolHandlers(ArrayList<AbstractSubprotocolHandler> subprotocolHandlers)
-
setInflowIdleTime
public void setInflowIdleTime(int inflowIdleTime)
-
setOutflowIdleTime
public void setOutflowIdleTime(int outflowIdleTime)
-
setPassThroughControlFrames
public void setPassThroughControlFrames(boolean passThroughControlFrames)
-
initChannel
protected void initChannel(io.netty.channel.socket.SocketChannel websocketChannel) throws Exception- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>- Throws:
Exception
-
setPortOffset
public void setPortOffset(int portOffset)
-
-