classes.io.netty.handler.codec.http.HttpClientUpgradeHandler.class Maven / Gradle / Ivy
???? 2c
R ? ? [
? ] P ? P ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? P ? ? ?
? ? ?
P ? Y ? ? ? ? ? ? ? ? ? ?
R ? ? ? P ? ? ? ?
! ? ? ? ? ? ?
? ? Y ?
P ? ? ? ?
? ? T ?
? ? ?
. ? ?
. ?
. ?
. ? W ? T ? Y ? W ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ?
? ? ?
B ? T ? ? ? ? ? ? ? ? ? ?
. ?
. ? ?
P
UpgradeCodec InnerClasses SourceCodec UpgradeEvent sourceCodec BLio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec; upgradeCodec CLio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec; upgradeRequested Z $assertionsDisabled ?(Lio/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec;I)V Code LineNumberTable LocalVariableTable this 6Lio/netty/handler/codec/http/HttpClientUpgradeHandler; maxContentLength I
StackMapTable
bind d(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V ctx (Lio/netty/channel/ChannelHandlerContext; localAddress Ljava/net/SocketAddress; promise !Lio/netty/channel/ChannelPromise;
Exceptions
connect |(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
remoteAddress
disconnect L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V close
deregister read +(Lio/netty/channel/ChannelHandlerContext;)V write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V msg Ljava/lang/Object; flush decode c(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V
upgradeHeader Ljava/lang/CharSequence; t Ljava/lang/Throwable; (Lio/netty/handler/codec/http/HttpObject; out Ljava/util/List; response .Lio/netty/handler/codec/http/FullHttpResponse; LocalVariableTypeTable $Ljava/util/List; ? ? ? Signature w(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V removeThisHandler setUpgradeRequestHeaders T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)V part i$ Ljava/util/Iterator; request )Lio/netty/handler/codec/http/HttpRequest; connectionParts Ljava/util/Set; builder Ljava/lang/StringBuilder; )Ljava/util/Set; ? M(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V ()V
SourceFile HttpClientUpgradeHandler.java b java/lang/NullPointerException b [ \ ] ^ o y | ~ ? 'io/netty/handler/codec/http/HttpRequest ? _ ` java/lang/IllegalStateException 9Attempting to write HTTP request with upgrade in progress ? ? ? 5Read HTTP response without requesting protocol switch ,io/netty/handler/codec/http/FullHttpResponse !"# ? ?$% a `&' java/lang/AssertionError b ?()*+,-./#0 ? ?123456(789:;< java/lang/StringBuilder ?Switching Protocols response with unexpected UPGRADE protocol: =>=?@AB ?CDEF ?G%H ? java/lang/ThrowableIG#JKLMNAOPQRS java/util/LinkedHashSetTUVWXYZ%[\ java/lang/CharSequence=]=^_`5 &io/netty/handler/codec/http/HttpObject ? ? 4io/netty/handler/codec/http/HttpClientUpgradeHandlerab% 0io/netty/handler/codec/http/HttpObjectAggregator 'io/netty/channel/ChannelOutboundHandler Aio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeCodec @io/netty/handler/codec/http/HttpClientUpgradeHandler$SourceCodec Aio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeEvent java/lang/Exception &io/netty/channel/ChannelHandlerContext java/util/List
java/util/Set java/util/Iterator (I)V (Ljava/lang/String;)V [(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; s(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; *()Lio/netty/channel/ChannelHandlerContext; U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; io/netty/channel/ChannelPromise
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; UPGRADE_ISSUED CLio/netty/handler/codec/http/HttpClientUpgradeHandler$UpgradeEvent; fireUserEventTriggered <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; retain 0()Lio/netty/handler/codec/http/FullHttpResponse; add (Ljava/lang/Object;)Z isEmpty ()Z size ()I get (I)Ljava/lang/Object; .io/netty/handler/codec/http/HttpResponseStatus SWITCHING_PROTOCOLS 0Lio/netty/handler/codec/http/HttpResponseStatus; status 2()Lio/netty/handler/codec/http/HttpResponseStatus; equals UPGRADE_REJECTED headers +()Lio/netty/handler/codec/http/HttpHeaders; +io/netty/handler/codec/http/HttpHeaderNames UPGRADE Lio/netty/util/AsciiString; 'io/netty/handler/codec/http/HttpHeaders ,(Ljava/lang/CharSequence;)Ljava/lang/String; protocol ()Ljava/lang/CharSequence; io/netty/util/AsciiString contentEqualsIgnoreCase 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; prepareUpgradeFrom upgradeTo Y(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpResponse;)V UPGRADE_SUCCESSFUL upgradeFrom release clear io/netty/util/ReferenceCountUtil fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; pipeline $()Lio/netty/channel/ChannelPipeline; name io/netty/channel/ChannelPipeline remove 5(Ljava/lang/String;)Lio/netty/channel/ChannelHandler; set U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders; setUpgradeHeaders i(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpRequest;)Ljava/util/Collection; addAll (Ljava/util/Collection;)Z iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; ,io/netty/handler/codec/http/HttpHeaderValues
CONNECTION java/lang/Class desiredAssertionStatus ! P R S [ \ ] ^ _ ` a ` b c d ? ,*? +?
? Y? ?,?
? Y? ?*+? *,? ? e " u v w y z ! | &