classes.io.netty.handler.codec.http2.HttpConversionUtil.class Maven / Gradle / Ivy
???? 2l
'
() (* +,-.
(/
01
2345
678
?9: ;<=>
?
?@ABC
D7EF
GHI7JKL M
NO
PQBR
#S +T +U
?VWXWTWUYZ
,[7\]^]_a
,b cd
ef cg ?h
?i
ej
klmTn
eo
;p +q
rs
?t7u +v
Nw7x
?y
kz
k{ c|
e}
~
r?
???? M?
0?
N?7?
??
e ??
e? 1?
N?
N? ??
?? c?
N? 1? ??
N???
b'?
b?
b??
bM
a? c? ??
N?
N?7?
N?
N????
s?
r?
??
r?
r?
b?
??
b? ??
~?7?
~?
~??
r?7? ??
e?
r? ??
??
?? ????
?' c? N?
?? c? c? c? ?? N? ?? (? ???? Http2ToHttpHeaderTranslator InnerClasses? ExtensionHeaderNames HTTP_TO_HTTP2_HEADER_BLACKLIST .Lio/netty/handler/codec/http2/CharSequenceMap; Signature KLio/netty/handler/codec/http2/CharSequenceMap; OUT_OF_MESSAGE_SEQUENCE_METHOD (Lio/netty/handler/codec/http/HttpMethod; OUT_OF_MESSAGE_SEQUENCE_PATH Ljava/lang/String;
ConstantValue? #OUT_OF_MESSAGE_SEQUENCE_RETURN_CODE 0Lio/netty/handler/codec/http/HttpResponseStatus; EMPTY_REQUEST_PATH Lio/netty/util/AsciiString; ()V Code LineNumberTable LocalVariableTable this 1Lio/netty/handler/codec/http2/HttpConversionUtil; parseStatus J(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpResponseStatus; result e -Lio/netty/handler/codec/http2/Http2Exception; t Ljava/lang/Throwable; status Ljava/lang/CharSequence;
StackMapTable?I34
Exceptions toHttpResponse (ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpResponse; streamId I http2Headers +Lio/netty/handler/codec/http2/Http2Headers; alloc "Lio/netty/buffer/ByteBufAllocator; validateHttpHeaders Z msg .Lio/netty/handler/codec/http/FullHttpResponse;??? toFullHttpRequest ~(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/buffer/ByteBufAllocator;Z)Lio/netty/handler/codec/http/FullHttpRequest; method path -Lio/netty/handler/codec/http/FullHttpRequest;?
toHttpRequest X(ILio/netty/handler/codec/http2/Http2Headers;Z)Lio/netty/handler/codec/http/HttpRequest; )Lio/netty/handler/codec/http/HttpRequest;Y addHttp2ToHttpHeaders ](ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http/FullHttpMessage;Z)V
sourceHeaders destinationMessage -Lio/netty/handler/codec/http/FullHttpMessage; addToTrailer?? ?(ILio/netty/handler/codec/http2/Http2Headers;Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/handler/codec/http/HttpVersion;ZZ)V entry Entry Ljava/util/Map$Entry; i$ Ljava/util/Iterator; ex inputHeaders
outputHeaders )Lio/netty/handler/codec/http/HttpHeaders; httpVersion )Lio/netty/handler/codec/http/HttpVersion; isTrailer isRequest
translator MLio/netty/handler/codec/http2/HttpConversionUtil$Http2ToHttpHeaderTranslator; LocalVariableTypeTable GLjava/util/Map$Entry;Z? toHttp2Headers W(Lio/netty/handler/codec/http/HttpMessage;Z)Lio/netty/handler/codec/http2/Http2Headers; host request requestTargetUri Ljava/net/URI; response *Lio/netty/handler/codec/http/HttpResponse; in )Lio/netty/handler/codec/http/HttpMessage; validateHeaders inHeaders out???? W(Lio/netty/handler/codec/http/HttpHeaders;Z)Lio/netty/handler/codec/http2/Http2Headers; W(Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/handler/codec/http2/Http2Headers;)V start index Ljava/lang/Exception; value aName iter ]Ljava/util/Iterator;>;a?? toHttp2Path +(Ljava/net/URI;)Lio/netty/util/AsciiString; uri pathBuilder Ljava/lang/StringBuilder;? setHttp2Authority @(Ljava/lang/String;Lio/netty/handler/codec/http2/Http2Headers;)V
endOfUserInfo autority setHttp2Scheme e(Lio/netty/handler/codec/http/HttpHeaders;Ljava/net/URI;Lio/netty/handler/codec/http2/Http2Headers;)V cValue keepAlive proxyConnection
SourceFile HttpConversionUtil.java ? ??? ?? ???? Invalid HTTP/2 status code '%d' java/lang/Object??????? +io/netty/handler/codec/http2/Http2Exception java/lang/Throwable IUnrecognized HTTP status code '%s' encountered in translation to HTTP/1.x??? ?? ? ? 3io/netty/handler/codec/http/DefaultFullHttpResponse?? ???? ?? ? ???? +HTTP/2 to HTTP/1.x headers conversion error?? ?? 6method header cannot be null in conversion to HTTP/1.x??? java/lang/CharSequence ?? 4path header cannot be null in conversion to HTTP/1.x 2io/netty/handler/codec/http/DefaultFullHttpRequest????? ??? .io/netty/handler/codec/http/DefaultHttpRequest ?????? ? ?? ? 'io/netty/handler/codec/http/HttpRequest Kio/netty/handler/codec/http2/HttpConversionUtil$Http2ToHttpHeaderTranslator ??? java/util/Map$Entry
??
?? 0io/netty/handler/codec/http2/DefaultHttp2Headers? ??? ? ? ? ! " ?#$?%?&? (io/netty/handler/codec/http/HttpResponse io/netty/util/AsciiString ?'?( ?) ? ?
*+,-./01 ? ?234 ?56789 ?5: "java/lang/IllegalArgumentException java/lang/StringBuilder Invalid value for ;<;= : ?>? ?@ABCDEFGHI?CJ &cookie value is of unexpected format: java/lang/Exception java/lang/IllegalStateException ?KL?MINO?P? ?QRS;T ? ?UVWX(
autority: Y?Z[\$]?^_`a?bc` R:scheme must be specified. see https://tools.ietf.org/html/rfc7540#section-8.1.2.3 ,io/netty/handler/codec/http2/CharSequenceMapd ?e ?f ?g ?h ?ij ? ? ?k ? ? ? / /io/netty/handler/codec/http2/HttpConversionUtil Dio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames .io/netty/handler/codec/http/HttpResponseStatus )io/netty/handler/codec/http2/Http2Headers io/netty/buffer/ByteBufAllocator ,io/netty/handler/codec/http/FullHttpResponse +io/netty/handler/codec/http/FullHttpRequest +io/netty/handler/codec/http/FullHttpMessage 'io/netty/handler/codec/http/HttpHeaders java/util/Iterator 'io/netty/handler/codec/http/HttpMessage java/net/URI java/lang/String parseLine SWITCHING_PROTOCOLS 'io/netty/handler/codec/http2/Http2Error PROTOCOL_ERROR )Lio/netty/handler/codec/http2/Http2Error; code ()I java/lang/Integer valueOf (I)Ljava/lang/Integer; connectionError }(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; ?(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; ()Ljava/lang/CharSequence; 'io/netty/handler/codec/http/HttpVersion HTTP_1_1 buffer ()Lio/netty/buffer/ByteBuf; v(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;Z)V release ()Z streamError ?(ILio/netty/handler/codec/http2/Http2Error;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception; !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; toString ()Ljava/lang/String; &io/netty/handler/codec/http/HttpMethod <(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpMethod; ?(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Lio/netty/buffer/ByteBuf;Z)V g(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Z)V headers +()Lio/netty/handler/codec/http/HttpHeaders; protocolVersion +()Lio/netty/handler/codec/http/HttpVersion; trailingHeaders .(ILio/netty/handler/codec/http/HttpHeaders;Z)V iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object;
java/util/Map translate (Ljava/util/Map$Entry;)V +io/netty/handler/codec/http/HttpHeaderNames TRANSFER_ENCODING remove C(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpHeaders; TRAILER STREAM_ID FLio/netty/handler/codec/http2/HttpConversionUtil$ExtensionHeaderNames; text ()Lio/netty/util/AsciiString; setInt D(Ljava/lang/CharSequence;I)Lio/netty/handler/codec/http/HttpHeaders; $io/netty/handler/codec/http/HttpUtil setKeepAlive V(Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/handler/codec/http/HttpVersion;Z)V size (ZI)V create "(Ljava/lang/String;)Ljava/net/URI; E(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http2/Http2Headers; *()Lio/netty/handler/codec/http/HttpMethod; asciiName isOriginForm (Ljava/net/URI;)Z isAsteriskForm HOST getAsString ,(Ljava/lang/CharSequence;)Ljava/lang/String; isEmpty getAuthority 2()Lio/netty/handler/codec/http/HttpResponseStatus; (I)Ljava/lang/String; (Ljava/lang/CharSequence;)V .io/netty/handler/codec/http2/EmptyHttp2Headers INSTANCE 0Lio/netty/handler/codec/http2/EmptyHttp2Headers; iteratorCharSequence getKey of 5(Ljava/lang/CharSequence;)Lio/netty/util/AsciiString; toLowerCase contains (Ljava/lang/Object;)Z TE contentEqualsIgnoreCase (Ljava/lang/CharSequence;)Z getValue ,io/netty/handler/codec/http/HttpHeaderValues TRAILERS 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V COOKIE io/netty/util/ByteProcessor FIND_SEMI_COLON Lio/netty/util/ByteProcessor; forEachByte (Lio/netty/util/ByteProcessor;)I subSequence (IIZ)Lio/netty/util/AsciiString; add F(Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/Headers; length "(IILio/netty/util/ByteProcessor;)I (Ljava/lang/Throwable;)V
getRawPath !io/netty/util/internal/StringUtil (Ljava/lang/String;)I getRawQuery getRawFragment (I)V
isNullOrEmpty (Ljava/lang/String;)Z (C)Ljava/lang/StringBuilder; indexOf (I)I authority substring getScheme scheme SCHEME get getPort &io/netty/handler/codec/http/HttpScheme HTTPS (Lio/netty/handler/codec/http/HttpScheme; port name HTTP
CONNECTION EMPTY_STRING
KEEP_ALIVE PROXY_CONNECTION UPGRADE PATH OPTIONS OK 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3 *? ? ?
h i ? ? ? ? ? ? ? >*? L+? ? ? ? Y+? ? S? ?? M,?M? ,? Y*S?
?+? # &