![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http.HttpServerUpgradeHandler.class Maven / Gradle / Ivy
The newest version!
???? 2t ?
P ?
R ? Y
? ? ? P ? [ ? P ? P ?
P ?
? ? ? ? ?
R ? ? ? P ? ? ? ?
? ? ?
P ? ? ? ? ? ? ?
? ? ?
P ? ? ? ? ?
? ? ?
# ? ? ? ? ? ? ?
# ?
# ?
# ?
# ? V ?
? ?
? ? ? ?
? ?
P ? ? ? V ? ?
4 ? ? ? ? V ? ? ? ? ?
4 ? ? ? ? ? ? ?
4 ? ? ? ? ?
@
@ ? ?
? ?
I ?
#
P
UpgradeEvent InnerClasses UpgradeCodecFactory UpgradeCodec SourceCodec sourceCodec BLio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec; upgradeCodecFactory JLio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory; handlingUpgrade Z $assertionsDisabled ?(Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;)V Code LineNumberTable LocalVariableTable this 6Lio/netty/handler/codec/http/HttpServerUpgradeHandler; ?(Lio/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec;Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory;I)V maxContentLength I decode c(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V fullRequest -Lio/netty/handler/codec/http/FullHttpRequest; ctx (Lio/netty/channel/ChannelHandlerContext; msg (Lio/netty/handler/codec/http/HttpObject; out Ljava/util/List; LocalVariableTypeTable $Ljava/util/List;
StackMapTable ?
Exceptions Signature w(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/HttpObject;Ljava/util/List;)V isUpgradeRequest +(Lio/netty/handler/codec/http/HttpObject;)Z upgrade X(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)Z p Ljava/lang/CharSequence; c CLio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec; i connectionHeaderValue requiredHeader
writeComplete Lio/netty/channel/ChannelFuture; request requestedProtocols numRequestedProtocols upgradeCodec upgradeProtocol connectionHeaderValues concatenatedConnectionValue Ljava/lang/StringBuilder; requiredHeaders Ljava/util/Collection; values upgradeResponse .Lio/netty/handler/codec/http/FullHttpResponse; event CLio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent; *Ljava/util/List; $Ljava/util/List; 0Ljava/util/Collection;
? ? ? createUpgradeResponse H(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/FullHttpResponse; res 5Lio/netty/handler/codec/http/DefaultFullHttpResponse; splitHeader *(Ljava/lang/CharSequence;)Ljava/util/List; C header builder protocols D(Ljava/lang/CharSequence;)Ljava/util/List; M(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V ()V
SourceFile HttpServerUpgradeHandler.java !io/netty/util/internal/StringUtil ` g ` @io/netty/handler/codec/http/HttpServerUpgradeHandler$SourceCodec Y Z Hio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodecFactory [ \ ] ^ | } ! +io/netty/handler/codec/http/FullHttpRequest j ?"# _ ^$% java/lang/AssertionError ` ?&' ~ ( ? 'io/netty/handler/codec/http/HttpRequest)*+,-.&/ ? ? java/lang/CharSequence012-3 ? java/lang/StringBuilder456#789:9;<%=>?@ABCDEF ? ?GH Aio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent `IJKLMNOPQRSTUVWXYZ[\]^# 3io/netty/handler/codec/http/DefaultFullHttpResponse_`abcdefg `hi j java/util/ArrayListklmnopq &io/netty/handler/codec/http/HttpObject j k 4io/netty/handler/codec/http/HttpServerUpgradeHandlerrs# 0io/netty/handler/codec/http/HttpObjectAggregator Aio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec java/lang/Exception &io/netty/channel/ChannelHandlerContext java/util/List java/util/Iterator java/util/Collection ,io/netty/handler/codec/http/FullHttpResponse java/lang/Throwable (I)V !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; io/netty/util/ReferenceCountUtil retain &(Ljava/lang/Object;)Ljava/lang/Object; add (Ljava/lang/Object;)Z isEmpty ()Z size ()I get (I)Ljava/lang/Object; clear 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; newUpgradeCodec ](Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeCodec;
CONNECTION getAll iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; append 3(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; length setLength requiredUpgradeHeaders ()Ljava/util/Collection; io/netty/util/AsciiString containsContentEqualsIgnoreCase 1(Ljava/util/Collection;Ljava/lang/CharSequence;)Z "containsAllContentEqualsIgnoreCase /(Ljava/util/Collection;Ljava/util/Collection;)Z contains (Ljava/lang/CharSequence;)Z prepareUpgradeResponse ?(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;Lio/netty/handler/codec/http/HttpHeaders;)Z H(Ljava/lang/CharSequence;Lio/netty/handler/codec/http/FullHttpRequest;)V
writeAndFlush 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; upgradeFrom +(Lio/netty/channel/ChannelHandlerContext;)V upgradeTo X(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/http/FullHttpRequest;)V pipeline $()Lio/netty/channel/ChannelPipeline; io/netty/channel/ChannelPipeline remove E(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; E()Lio/netty/handler/codec/http/HttpServerUpgradeHandler$UpgradeEvent; fireUserEventTriggered <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; &io/netty/channel/ChannelFutureListener CLOSE_ON_FAILURE (Lio/netty/channel/ChannelFutureListener; io/netty/channel/ChannelFuture addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; release 'io/netty/handler/codec/http/HttpVersion HTTP_1_1 )Lio/netty/handler/codec/http/HttpVersion; .io/netty/handler/codec/http/HttpResponseStatus SWITCHING_PROTOCOLS 0Lio/netty/handler/codec/http/HttpResponseStatus; io/netty/buffer/Unpooled EMPTY_BUFFER Lio/netty/buffer/ByteBuf; v(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V ,io/netty/handler/codec/http/HttpHeaderValues U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders; charAt (I)C java/lang/Character isWhitespace (C)Z toString ()Ljava/lang/String; java/lang/Class desiredAssertionStatus ! P R Y Z [ \ ] ^ _ ^ ` a b J *+,? ? c
? ? d e f Y Z [ \ ` g b t *? *+? ? ? *,? ? ?
? c ? ? ? ? d * e f Y Z [ \ h i j k b O ?*Y? ,? ?? *? ? ,?
W-,? W?,? ? ,? :,?
W-,? W? =*+,-? -? ? ?? ? -? ? ? Y? ?*? -? ? :*+? ? -? ? c J ?
? ? ? ! ? " ? ) ? / ? 4 ? ? ? F ? O ? P ? h ? m ? y ? ? ? ? ? d > / l m ? e f ? n o ? p q ? r s y l m t ? r u v
"? w x y z {
| } b T *? ? *? ? ? ? ? ? ? c ? d p q v @ ~ b ? ?,? ? ? ? N-? 6::6? 3-? ? :*?
? : ? : :? ????? ?,? ? !? ":? ?? #Y?
h? $:? % : ? & ? ? ' ? :
? (,? )W???? *d? +? , : ? :
? ? -?
? .? ? ? / :? & ? "? ' ? :,? ? 0? ????? 1:+,? 2 ? 3 ? ?? 4Y,? 5:+? 6 :
*? +? 7 +,? 8 +? 9 *? : W+? ;? < W
? =? > W? ?W? :? ?W?? C?? ??? c ? .
( 5 B G K O R X ] _ m! r" t% ?&