classes.io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler.class Maven / Gradle / Ivy
???? 2 ?
3 z
3 {
3 |
4 } 3 ~ 3 3 ? 3 ? 3 ? ? ? ? ? ? ? ?
? ?
| ? ? ?
} ? ? ?
3 ?
/ ?
+ ? ? ? ? ? ? ? ? ?
4 ? ? ? ? ? ? ?
? ?
? ?
? ?
? ? ? ? ? 3 ? ? ? ? ? ? ? ? ?
- } ?
3 ? ?
? ? ? ? ? ServerHandshakeStateEvent InnerClasses HANDSHAKER_ATTR_KEY Lio/netty/util/AttributeKey; Signature `Lio/netty/util/AttributeKey;
websocketPath Ljava/lang/String; subprotocols allowExtensions Z maxFramePayloadLength I allowMaskMismatch (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this GLio/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandler; '(Ljava/lang/String;Ljava/lang/String;)V ((Ljava/lang/String;Ljava/lang/String;Z)V )(Ljava/lang/String;Ljava/lang/String;ZI)V maxFrameSize *(Ljava/lang/String;Ljava/lang/String;ZIZ)V handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V ctx (Lio/netty/channel/ChannelHandlerContext; cp "Lio/netty/channel/ChannelPipeline;
StackMapTable ? decode r(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List;)V
handshaker BLio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker; frame 7Lio/netty/handler/codec/http/websocketx/WebSocketFrame; out Ljava/util/List; LocalVariableTypeTable $Ljava/util/List; ?
Exceptions ? ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/websocketx/WebSocketFrame;Ljava/util/List;)V exceptionCaught @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V response .Lio/netty/handler/codec/http/FullHttpResponse; cause Ljava/lang/Throwable;
getHandshaker ^(Lio/netty/channel/Channel;)Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker; channel Lio/netty/channel/Channel;
setHandshaker _(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/websocketx/WebSocketServerHandshaker;)V forbiddenHttpRequestResponder #()Lio/netty/channel/ChannelHandler; M(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V ()V
SourceFile #WebSocketServerProtocolHandler.java E M E N E P E w = > ? > @ A B C D A ? ? ? Nio/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandshakeHandler ? ? ? ? ? ? ? ? ? ? 9io/netty/handler/codec/http/websocketx/Utf8FrameValidator :io/netty/handler/codec/http/websocketx/CloseWebSocketFrame o ? m n ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Y Z Bio/netty/handler/codec/http/websocketx/WebSocketHandshakeException 3io/netty/handler/codec/http/DefaultFullHttpResponse ? ? ? ? ? ? ? ? ? ? ? ? ? ? E ? ? ? ? 9 : ? ? ? ? ? @io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker ? ? Gio/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandler$1 5io/netty/handler/codec/http/websocketx/WebSocketFrame
HANDSHAKER ? ? ? Eio/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandler ?io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler _io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandler$ServerHandshakeStateEvent io/netty/channel/ChannelPipeline java/lang/Exception &io/netty/channel/ChannelHandlerContext pipeline $()Lio/netty/channel/ChannelPipeline; get 4(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler; name ()Ljava/lang/String; java/lang/Class getName addBefore i(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; ()Lio/netty/channel/Channel; retain 9()Lio/netty/handler/codec/http/websocketx/WebSocketFrame; close x(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;)Lio/netty/channel/ChannelFuture; io/netty/buffer/Unpooled EMPTY_BUFFER Lio/netty/buffer/ByteBuf;
writeAndFlush 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; &io/netty/channel/ChannelFutureListener CLOSE (Lio/netty/channel/ChannelFutureListener; io/netty/channel/ChannelFuture addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; 'io/netty/handler/codec/http/HttpVersion HTTP_1_1 )Lio/netty/handler/codec/http/HttpVersion; .io/netty/handler/codec/http/HttpResponseStatus BAD_REQUEST 0Lio/netty/handler/codec/http/HttpResponseStatus; java/lang/Throwable
getMessage java/lang/String getBytes ()[B
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf; u(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;)V io/netty/channel/Channel "()Lio/netty/channel/ChannelFuture; attr 7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; io/netty/util/Attribute ()Ljava/lang/Object; set (Ljava/lang/Object;)V io/netty/util/AttributeKey valueOf A(Ljava/lang/Class;Ljava/lang/String;)Lio/netty/util/AttributeKey; ! 3 4 9 : ; <