Interface WebSocketFrameDecoder
- All Superinterfaces:
ChannelHandler, ChannelInboundHandler
- All Known Implementing Classes:
WebSocket00FrameDecoder, WebSocket07FrameDecoder, WebSocket08FrameDecoder, WebSocket13FrameDecoder
Marker interface which all WebSocketFrame decoders need to implement.
This makes it easier to access the added encoder later in the
ChannelPipeline.-
Nested Class Summary
Nested classes/interfaces inherited from interface ChannelHandler
ChannelHandler.SharableModifier and TypeInterfaceDescriptionstatic @interfaceIndicates that the same instance of the annotatedChannelHandlercan be added to one or moreChannelPipelines multiple times without a race condition. -
Method Summary
Methods inherited from interface ChannelHandler
handlerAdded, handlerRemovedModifier and TypeMethodDescriptionvoidGets called after theChannelHandlerwas added to the actual context and it's ready to handle events.voidGets called after theChannelHandlerwas removed from the actual context and it doesn't handle events anymore.Methods inherited from interface ChannelInboundHandler
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredModifier and TypeMethodDescriptionvoidTheChannelof theChannelHandlerContextis now activevoidTheChannelof theChannelHandlerContextwas registered is now inactive and reached its end of lifetime.voidchannelRead(ChannelHandlerContext ctx, Object msg) Invoked when the currentChannelhas read a message from the peer.voidInvoked when the last message read by the current read operation has been consumed byChannelInboundHandler.channelRead(ChannelHandlerContext, Object).voidvoidvoidGets called once the writable state of aChannelchanged.voidexceptionCaught(ChannelHandlerContext ctx, Throwable cause) Gets called if aThrowablewas thrown.voiduserEventTriggered(ChannelHandlerContext ctx, Object evt) Gets called if an user event was triggered.