@Internal public class NettyServerWebSocketHandler extends AbstractNettyWebSocketHandler
WebSocketFrame instances.| Modifier and Type | Field and Description | 
|---|---|
| static String | IDThe id of the handler used when adding it to the Netty pipeline. | 
LOG, mediaTypeCodecRegistry, messageHandler, originatingRequest, pongHandler, subProtocol, uriVariables, webSocketBean, webSocketBinder, webSocketSessionRepository, webSocketVersion| Modifier and Type | Method and Description | 
|---|---|
| boolean | acceptInboundMessage(Object msg) | 
| protected NettyWebSocketSession | createWebSocketSession(io.netty.channel.ChannelHandlerContext ctx)Subclasses should implement to create the actual  NettyWebSocketSession. | 
| Argument<?> | getBodyArgument() | 
| Argument<?> | getPongArgument() | 
| NettyWebSocketSession | getSession() | 
| void | handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) | 
| protected Publisher<?> | instrumentPublisher(io.netty.channel.ChannelHandlerContext ctx,
                   Object result)Subclasses can override to customize publishers returned from message handlers. | 
| protected Object | invokeExecutable(BoundExecutable boundExecutable,
                MethodExecutionHandle<?,?> messageHandler)Invokes the given executable. | 
| protected void | messageHandled(io.netty.channel.ChannelHandlerContext ctx,
              Object message)Method called once a message has been handled by the handler. | 
| void | userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
                  Object evt) | 
callOpenMethod, channelRead0, exceptionCaught, forwardErrorToUser, handleCloseReason, handleWebSocketFrame, writeCloseFrameAndTerminatechannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, isSharablepublic static final String ID
public NettyWebSocketSession getSession()
getSession in class AbstractNettyWebSocketHandlerpublic Argument<?> getBodyArgument()
getBodyArgument in class AbstractNettyWebSocketHandlerpublic Argument<?> getPongArgument()
getPongArgument in class AbstractNettyWebSocketHandlerpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
                               Object evt)
                        throws Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic boolean acceptInboundMessage(Object msg)
acceptInboundMessage in class io.netty.channel.SimpleChannelInboundHandler<Object>protected NettyWebSocketSession createWebSocketSession(io.netty.channel.ChannelHandlerContext ctx)
AbstractNettyWebSocketHandlerNettyWebSocketSession.createWebSocketSession in class AbstractNettyWebSocketHandlerctx - The contextprotected Publisher<?> instrumentPublisher(io.netty.channel.ChannelHandlerContext ctx, Object result)
AbstractNettyWebSocketHandlerinstrumentPublisher in class AbstractNettyWebSocketHandlerctx - The contextresult - The resultprotected Object invokeExecutable(BoundExecutable boundExecutable, MethodExecutionHandle<?,?> messageHandler)
AbstractNettyWebSocketHandlerinvokeExecutable in class AbstractNettyWebSocketHandlerboundExecutable - The bound executablemessageHandler - The message handlerprotected void messageHandled(io.netty.channel.ChannelHandlerContext ctx,
                              Object message)
AbstractNettyWebSocketHandlermessageHandled in class AbstractNettyWebSocketHandlerctx - The channel handler contextmessage - The message that was handledpublic void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
                    throws Exception
handlerRemoved in interface io.netty.channel.ChannelHandlerhandlerRemoved in class AbstractNettyWebSocketHandlerException