classes.io.netty.handler.codec.spdy.SpdyHttpDecoder.class Maven / Gradle / Ivy
???? 2?
? ?
?!
"#$%&'( #)
*+ #,- ./
'012 #3 .4 #5 .617
89: ;<
=> ;? ;@ #ABCDE
9F FG FH IJ KL
KMNO IP QRNS
T KUV F) F5
WX: F3
YZ[ M)
\ M5 : M3 MHN ]^
=_ `
ab
cd [) [`efg
^
ah
ai [3j e) IkNl
mn Io
QpNqrst
nu Iv IwN& xw
=y
Yz x{
=|
a}
K~
z? x??
??? validateHeaders Z spdyVersion I maxContentLength
messageMap Ljava/util/Map; Signature QLjava/util/Map; -(Lio/netty/handler/codec/spdy/SpdyVersion;I)V Code LineNumberTable LocalVariableTable this -Lio/netty/handler/codec/spdy/SpdyHttpDecoder; version )Lio/netty/handler/codec/spdy/SpdyVersion; .(Lio/netty/handler/codec/spdy/SpdyVersion;IZ)V <(Lio/netty/handler/codec/spdy/SpdyVersion;ILjava/util/Map;)V LocalVariableTypeTable ~(Lio/netty/handler/codec/spdy/SpdyVersion;ILjava/util/Map;)V =(Lio/netty/handler/codec/spdy/SpdyVersion;ILjava/util/Map;Z)V
StackMapTable??? (Lio/netty/handler/codec/spdy/SpdyVersion;ILjava/util/Map;Z)V channelInactive +(Lio/netty/channel/ChannelHandlerContext;)V entry Entry InnerClasses Ljava/util/Map$Entry; i$ Ljava/util/Iterator; ctx (Lio/netty/channel/ChannelHandlerContext; WLjava/util/Map$Entry;?
Exceptions?
putMessage ](ILio/netty/handler/codec/http/FullHttpMessage;)Lio/netty/handler/codec/http/FullHttpMessage; streamId message -Lio/netty/handler/codec/http/FullHttpMessage;
getMessage 0(I)Lio/netty/handler/codec/http/FullHttpMessage;
removeMessage decode b(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/spdy/SpdyFrame;Ljava/util/List;)V spdyRstStreamFrame 0Lio/netty/handler/codec/spdy/SpdyRstStreamFrame; httpRequestWithEntity -Lio/netty/handler/codec/http/FullHttpRequest; ignored Ljava/lang/Throwable; associatedToStreamId spdySynReplyFrame /Lio/netty/handler/codec/spdy/SpdySynReplyFrame; frameHeaders )Lio/netty/handler/codec/spdy/SpdyHeaders; t spdySynStreamFrame 0Lio/netty/handler/codec/spdy/SpdySynStreamFrame; httpResponseWithEntity .Lio/netty/handler/codec/http/FullHttpResponse; e spdyHeadersFrame .Lio/netty/handler/codec/spdy/SpdyHeadersFrame; fullHttpMessage
spdyDataFrame +Lio/netty/handler/codec/spdy/SpdyDataFrame; content Lio/netty/buffer/ByteBuf; spdyDataFrameData spdyDataFrameDataLen msg 'Lio/netty/handler/codec/spdy/SpdyFrame; out Ljava/util/List; GLjava/util/Map$Entry; $Ljava/util/List;(D?V?[%d???? v(Lio/netty/channel/ChannelHandlerContext;Lio/netty/handler/codec/spdy/SpdyFrame;Ljava/util/List;)V createHttpRequest (Lio/netty/handler/codec/spdy/SpdyHeadersFrame;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/handler/codec/http/FullHttpRequest; req host Ljava/lang/CharSequence; requestFrame alloc "Lio/netty/buffer/ByteBufAllocator; headers method (Lio/netty/handler/codec/http/HttpMethod; url Ljava/lang/String; httpVersion )Lio/netty/handler/codec/http/HttpVersion; release buffer?????^ createHttpResponse ?(Lio/netty/handler/codec/spdy/SpdyHeadersFrame;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpResponse; res
responseFrame status 0Lio/netty/handler/codec/http/HttpResponseStatus;? M(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V YLio/netty/handler/codec/MessageToMessageDecoder;
SourceFile SpdyHttpDecoder.java java/util/HashMap ?? ? ? java/lang/NullPointerException ?? "java/lang/IllegalArgumentException java/lang/StringBuilder -maxContentLength must be a positive integer: ????????? ? ? ? ? ? ? ? ???????????? java/util/Map$Entry??????? ? ?????? +io/netty/handler/codec/http/FullHttpMessage???? .io/netty/handler/codec/spdy/SpdySynStreamFrame ??????? 5io/netty/handler/codec/spdy/DefaultSpdyRstStreamFrame??? ????????????? ?? ? ?? ????????????????? java/lang/Throwable 4io/netty/handler/codec/spdy/DefaultSpdySynReplyFrame ???? ??????? ?????????? ??? ? ?? ? -io/netty/handler/codec/spdy/SpdySynReplyFrame ? ????? ,io/netty/handler/codec/spdy/SpdyHeadersFrame ? ??? java/lang/CharSequence?? ????? ? ? )io/netty/handler/codec/spdy/SpdyDataFrame ,io/netty/handler/codec/TooLongFrameException HTTP content length exceeded bytes.???? .io/netty/handler/codec/spdy/SpdyRstStreamFrame?????????????? ?? 2io/netty/handler/codec/http/DefaultFullHttpRequest ??????????????? ???? 3io/netty/handler/codec/http/DefaultFullHttpResponse ???? %io/netty/handler/codec/spdy/SpdyFrame ? ? +io/netty/handler/codec/spdy/SpdyHttpDecoder .io/netty/handler/codec/MessageToMessageDecoder 'io/netty/handler/codec/spdy/SpdyVersion
java/util/Map java/util/Iterator java/lang/Exception +io/netty/handler/codec/http/FullHttpRequest ,io/netty/handler/codec/http/FullHttpResponse io/netty/buffer/ByteBuf &io/netty/channel/ChannelHandlerContext java/util/List io/netty/buffer/ByteBufAllocator 'io/netty/handler/codec/spdy/SpdyHeaders &io/netty/handler/codec/http/HttpMethod java/lang/String 'io/netty/handler/codec/http/HttpVersion .io/netty/handler/codec/http/HttpResponseStatus ()V (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String;
getVersion ()I entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getValue io/netty/util/ReferenceCountUtil safeRelease (Ljava/lang/Object;)V clear java/lang/Integer valueOf (I)Ljava/lang/Integer; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; get &(Ljava/lang/Object;)Ljava/lang/Object; remove )io/netty/handler/codec/spdy/SpdyCodecUtil
isServerId (I)Z associatedStreamId ,io/netty/handler/codec/spdy/SpdyStreamStatus INVALID_STREAM .Lio/netty/handler/codec/spdy/SpdyStreamStatus; 2(ILio/netty/handler/codec/spdy/SpdyStreamStatus;)V
writeAndFlush 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; isLast PROTOCOL_ERROR isTruncated INTERNAL_ERROR $()Lio/netty/buffer/ByteBufAllocator; +()Lio/netty/handler/codec/http/HttpHeaders;? 1io/netty/handler/codec/spdy/SpdyHttpHeaders$Names Names STREAM_ID Lio/netty/util/AsciiString; 'io/netty/handler/codec/http/HttpHeaders setInt D(Ljava/lang/CharSequence;I)Lio/netty/handler/codec/http/HttpHeaders; ASSOCIATED_TO_STREAM_ID PRIORITY priority ()B add (Ljava/lang/Object;)Z (I)V setLast 2(Z)Lio/netty/handler/codec/spdy/SpdySynReplyFrame; +()Lio/netty/handler/codec/spdy/SpdyHeaders; 1io/netty/handler/codec/spdy/SpdyHeaders$HttpNames HttpNames STATUS REQUEST_HEADER_FIELDS_TOO_LARGE code 5(Ljava/lang/Object;I)Lio/netty/handler/codec/Headers; VERSION HTTP_1_0 setObject F(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers; BAD_REQUEST $io/netty/handler/codec/http/HttpUtil setContentLength -(Lio/netty/handler/codec/http/HttpMessage;J)V getKey U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders; ()Lio/netty/buffer/ByteBuf;
readableBytes readerIndex
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; METHOD getAsString ,(Ljava/lang/CharSequence;)Ljava/lang/String; <(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpMethod; PATH =(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpVersion; (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Lio/netty/buffer/ByteBuf;)V SCHEME HOST +io/netty/handler/codec/http/HttpHeaderNames set setKeepAlive -(Lio/netty/handler/codec/http/HttpMessage;Z)V TRANSFER_ENCODING C(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpHeaders; parseLine J(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpResponseStatus; v(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V TRAILER +io/netty/handler/codec/spdy/SpdyHttpHeaders ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? Q *+? Y? ? ? ?
> ? ? ? ? ? ? ? ? ? ? ? [ *+? Y? ? ? ?
K L ? * ? ? ? ? ? ? ? ? ? ? ? g *+-? ? ?
X Y ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J*? +?
? Y? ?? ? Y? Y?
? ?
? ? ?*+? ? *? *-? *? ? ? *
f g h j k 1 n 9 o > p C q I r ? 4 J ? ? J ? ? J ? ? J ? ? J ? ? ? J ? ? ? ? ? ? ? ? ? ? ? ? ? =*? ? ? M,? ? ,? ? N-? ? ???*? ? *+? ? ? w " x + y . z 7 { <