![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandshakeHandler.class Maven / Gradle / Ivy
The newest version!
???? 2 ? ] ^ _ '
`
* a b 1
c d e f g
* h f i
j k l
m n o
p q f r
j s
j t u v w x f y f z { | } ~
? u ? f ? ?
# ? ? ? ? ? ?
' ? u ? ? InnerClasses DEFAULT_HANDSHAKE_TIMEOUT_MS J
ConstantValue
handshaker BLio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker; handshakeTimeoutMillis ctx (Lio/netty/channel/ChannelHandlerContext; handshakePromise !Lio/netty/channel/ChannelPromise; E(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;)V Code LineNumberTable LocalVariableTable this PLio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler; F(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;J)V handlerAdded +(Lio/netty/channel/ChannelHandlerContext;)V
Exceptions ?
channelActive channelRead =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V msg Ljava/lang/Object; response .Lio/netty/handler/codec/http/FullHttpResponse;
StackMapTable q ? applyHandshakeTimeout ()V localHandshakePromise
timeoutFuture !Lio/netty/util/concurrent/Future; LocalVariableTypeTable $Lio/netty/util/concurrent/Future<*>; ? getHandshakeFuture "()Lio/netty/channel/ChannelFuture;
access$000 s(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;)Lio/netty/channel/ChannelPromise; x0
access$100 z(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;)Lio/netty/channel/ChannelHandlerContext;
SourceFile ,WebSocketClientProtocolHandshakeHandler.java 2 3 4 5 Nio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler 6 = 6 M / 0 ? ? ? 1 - ? ? ? B ? ? ? ? ? ? Pio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler$1 6 ? ? ? ? L M ,io/netty/handler/codec/http/FullHttpResponse ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/IllegalStateException ;WebSocketClientHandshaker should have been non finished yet 6 ? ? ? ? ? Pio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler$2 6 ? ? ? ? ? ? ? Pio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler$3 6 ? ? ? -io/netty/channel/ChannelInboundHandlerAdapter java/lang/Exception java/lang/Throwable io/netty/channel/ChannelPromise !io/netty/util/internal/ObjectUtil
checkPositive (JLjava/lang/String;)J &io/netty/channel/ChannelHandlerContext
newPromise #()Lio/netty/channel/ChannelPromise; channel ()Lio/netty/channel/Channel; @io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker handshake <(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture; {(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;Lio/netty/channel/ChannelHandlerContext;)V io/netty/channel/ChannelFuture addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; fireChannelRead <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; isHandshakeComplete ()Z finishHandshake K(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/FullHttpResponse;)V
trySuccess ? _io/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandler$ClientHandshakeStateEvent ClientHandshakeStateEvent HANDSHAKE_COMPLETE aLio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandler$ClientHandshakeStateEvent; fireUserEventTriggered pipeline $()Lio/netty/channel/ChannelPipeline; io/netty/channel/ChannelPipeline remove E(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; release (Ljava/lang/String;)V isDone executor *()Lio/netty/util/concurrent/EventExecutor; t(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;Lio/netty/channel/ChannelPromise;)V java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; &io/netty/util/concurrent/EventExecutor schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture; t(Lio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandshakeHandler;Lio/netty/util/concurrent/Future;)V S(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise; Eio/netty/handler/codec/http/websocketx/WebSocketClientProtocolHandler * , - . / 0 1 - 2 3 4 5 6 7 8 A *+ ? ? 9
) * : ; <