public interface WebSocketFrameListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebSocketFrameListener.CloseFramePayload
Utility to decode Close frame payload
|
static class |
WebSocketFrameListener.Utf8FrameValidator
UTF8 finite state machine based implementation from
https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ optimized for ASCII content.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onChannelRead(ChannelHandlerContext ctx,
boolean finalFragment,
int rsv,
int opcode,
ByteBuf payload) |
default void |
onChannelReadComplete(ChannelHandlerContext ctx) |
default void |
onChannelWritabilityChanged(ChannelHandlerContext ctx) |
default void |
onClose(ChannelHandlerContext ctx) |
default void |
onExceptionCaught(ChannelHandlerContext ctx,
Throwable cause) |
default void |
onOpen(ChannelHandlerContext ctx) |
default void |
onUserEventTriggered(ChannelHandlerContext ctx,
Object evt) |
void onChannelRead(ChannelHandlerContext ctx, boolean finalFragment, int rsv, int opcode, ByteBuf payload)
default void onChannelReadComplete(ChannelHandlerContext ctx)
default void onUserEventTriggered(ChannelHandlerContext ctx, Object evt)
default void onChannelWritabilityChanged(ChannelHandlerContext ctx)
default void onExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
default void onOpen(ChannelHandlerContext ctx)
default void onClose(ChannelHandlerContext ctx)