io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler.class Maven / Gradle / Ivy
???? 2 ? Qio/netty/handler/codec/http/websocketx/extensions/WebSocketClientExtensionHandler %io/netty/channel/ChannelDuplexHandler $WebSocketClientExtensionHandler.java extensionHandshakers Ljava/util/List; hLjava/util/List; Z([Lio/netty/handler/codec/http/websocketx/extensions/WebSocketClientExtensionHandshaker;)V ()V
java/lang/NullPointerException (Ljava/lang/String;)V
W[Lio/netty/handler/codec/http/websocketx/extensions/WebSocketClientExtensionHandshaker; "java/lang/IllegalArgumentException :extensionHandshakers must contains at least one handshaker
java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
! this SLio/netty/handler/codec/http/websocketx/extensions/WebSocketClientExtensionHandler; write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V java/lang/Exception ' 'io/netty/handler/codec/http/HttpRequest ) headers +()Lio/netty/handler/codec/http/HttpHeaders; + , * - Hio/netty/handler/codec/http/websocketx/extensions/WebSocketExtensionUtil / isWebsocketUpgrade ,(Lio/netty/handler/codec/http/HttpHeaders;)Z 1 2
0 3 +io/netty/handler/codec/http/HttpHeaderNames 5 SEC_WEBSOCKET_EXTENSIONS Lio/netty/util/AsciiString; 7 8 6 9 'io/netty/handler/codec/http/HttpHeaders ; getAsString ,(Ljava/lang/CharSequence;)Ljava/lang/String; = >
<