![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http.HttpClientUpgradeHandler.class Maven / Gradle / Ivy
The newest version!
???? 2j
U ? ? ^
? ` S ? S ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? S ? ? ?
? ? ?
S ? \ ? ? ? ? ? ? ? ? ? ?
? ? \ ?
S ? ? ? ? ! ? ? ?
U ? ? ? S ? ? ? ?
( ? ? ? ! ? ? ?
? ? W ?
? ? ?
0 ? ?
0 ?
0 ?
0 ? Z ? W ? \ ? Z ? ! ? ? ? ?
? ? ? ? ? ? ? ? ? ? ?
? ? ?
D ? W ? ? ? ? ?
0
0 ? ?
?
S
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 rep *Lio/netty/handler/codec/http/HttpResponse;
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 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 e java/lang/NullPointerException e ^ _ ` a r | ? ? ? 'io/netty/handler/codec/http/HttpRequest ? b c java/lang/IllegalStateException 9Attempting to write HTTP request with upgrade in progress ! ? ?"#$% ? 5Read HTTP response without requesting protocol switch (io/netty/handler/codec/http/HttpResponse&'()*+,-# ? ?.% ,io/netty/handler/codec/http/FullHttpResponse/01, ? ?23 d c45 java/lang/AssertionError e ?6789:;<=6>?@ABC java/lang/StringBuilder ?Switching Protocols response with unexpected UPGRADE protocol: DEDFGHI ?JKL#M ?N3O ? java/lang/ThrowablePN,QRSTUHVWXYZ java/util/LinkedHashSet[\]^_`a3bc java/lang/CharSequenceDdDefg<1Z &io/netty/handler/codec/http/HttpObject ? ? 4io/netty/handler/codec/http/HttpClientUpgradeHandlerhi3 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; .io/netty/handler/codec/http/HttpResponseStatus SWITCHING_PROTOCOLS 0Lio/netty/handler/codec/http/HttpResponseStatus; status 2()Lio/netty/handler/codec/http/HttpResponseStatus; equals (Ljava/lang/Object;)Z UPGRADE_REJECTED fireChannelRead retain 0()Lio/netty/handler/codec/http/FullHttpResponse; add isEmpty ()Z size ()I get (I)Ljava/lang/Object; 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 ! S U V ^ _ ` a b c d c e f g ? ,*? +?
? Y? ?,?
? Y? ?*+? *,? ? h " u v w y z ! | &