All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.handler.codec.http.HttpUtil.class Maven / Gradle / Ivy

????2?$io/netty/handler/codec/http/HttpUtiljava/lang/Object
HttpUtil.java
EMPTY_HEADERS.Lio/netty/handler/codec/http/EmptyHttpHeaders;Ljava/lang/Deprecated;CHARSET_EQUALSLio/netty/util/AsciiString;	SEMICOLON()V
this&Lio/netty/handler/codec/http/HttpUtil;isOriginForm(Ljava/net/URI;)Zjava/net/URI	getScheme()Ljava/lang/String;
getSchemeSpecificPart
getHost
getAuthority 
!uriLjava/net/URI;isAsteriskForm*&getPath(
)java/lang/String+equals(Ljava/lang/Object;)Z-.
,/getQuery1
2getFragment4
5isKeepAlive,(Lio/netty/handler/codec/http/HttpMessage;)Z'io/netty/handler/codec/http/HttpMessage9headers+()Lio/netty/handler/codec/http/HttpHeaders;;<:=+io/netty/handler/codec/http/HttpHeaderNames?
CONNECTIONA
	@B'io/netty/handler/codec/http/HttpHeadersDget,(Ljava/lang/CharSequence;)Ljava/lang/String;FG
EH,io/netty/handler/codec/http/HttpHeaderValuesJCLOSEL
	KMio/netty/util/AsciiStringOcontentEqualsIgnoreCase(Ljava/lang/CharSequence;)ZQR
PSjava/lang/CharSequenceUprotocolVersion+()Lio/netty/handler/codec/http/HttpVersion;WX:Y'io/netty/handler/codec/http/HttpVersion[isKeepAliveDefault()Z]^
\_
KEEP_ALIVEa
	Kbmessage)Lio/netty/handler/codec/http/HttpMessage;
connectionLjava/lang/CharSequence;setKeepAlive-(Lio/netty/handler/codec/http/HttpMessage;Z)VV(Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/handler/codec/http/HttpVersion;Z)Vhj
k	keepAliveZremoveC(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpHeaders;op
EqsetU(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;st
Euh)Lio/netty/handler/codec/http/HttpHeaders;httpVersion)Lio/netty/handler/codec/http/HttpVersion;getContentLength,(Lio/netty/handler/codec/http/HttpMessage;)JCONTENT_LENGTH}
	@~java/lang/Long?	parseLong(Ljava/lang/String;)J??
??getWebSocketContentLength,(Lio/netty/handler/codec/http/HttpMessage;)I??
?java/lang/NumberFormatException?java/lang/StringBuilder?
?header not found: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString?
??(Ljava/lang/String;)V?
??valueLjava/lang/String;webSocketContentLengthJ-(Lio/netty/handler/codec/http/HttpMessage;J)Jignore!Ljava/lang/NumberFormatException;defaultValue-(Lio/netty/handler/codec/http/HttpMessage;I)I???{?
?java/lang/Math?min(JJ)J??
??I'io/netty/handler/codec/http/HttpRequest?&io/netty/handler/codec/http/HttpMethod?GET(Lio/netty/handler/codec/http/HttpMethod;??	??method*()Lio/netty/handler/codec/http/HttpMethod;????
?/SEC_WEBSOCKET_KEY1?
	@?contains?R
E?SEC_WEBSOCKET_KEY2?
	@?(io/netty/handler/codec/http/HttpResponse?status2()Lio/netty/handler/codec/http/HttpResponseStatus;????.io/netty/handler/codec/http/HttpResponseStatus?code()I??
??SEC_WEBSOCKET_ORIGIN?
	@?SEC_WEBSOCKET_LOCATION?
	@?req)Lio/netty/handler/codec/http/HttpRequest;res*Lio/netty/handler/codec/http/HttpResponse;setContentLength-(Lio/netty/handler/codec/http/HttpMessage;J)VvalueOf(J)Ljava/lang/Long;??
??lengthisContentLengthSetmis100ContinueExpectedisExpectHeaderValid?8
?EXPECT?
	@?CONTINUE?
	K?
P?equalsIgnoreCase(Ljava/lang/String;)Z??
,?expectValueisUnsupportedExpectationHTTP_1_1?z	\?	compareTo,(Lio/netty/handler/codec/http/HttpVersion;)I??
\?set100ContinueExpectedexpectedisTransferEncodingChunkedTRANSFER_ENCODING
	@CHUNKED
	K4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z?
E	setTransferEncodingChunkedgetAll*(Ljava/lang/CharSequence;)Ljava/util/List;
Ejava/util/ListisEmpty^java/util/ArrayList(Ljava/util/Collection;)V
iterator()Ljava/util/Iterator;java/util/IteratorhasNext ^!next()Ljava/lang/Object;#$%o
'W(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/netty/handler/codec/http/HttpHeaders;s)
E*	encodings$Ljava/util/List;Ljava/util/List;values*Ljava/util/List;valuesIt.Ljava/util/Iterator;Ljava/util/Iterator;chunked
getCharsetE(Lio/netty/handler/codec/http/HttpMessage;)Ljava/nio/charset/Charset;io/netty/util/CharsetUtil7
ISO_8859_1Ljava/nio/charset/Charset;9:	8;_(Lio/netty/handler/codec/http/HttpMessage;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;5=
>,java/nio/charset/UnsupportedCharsetException@getCharsetAsSequenceC(Lio/netty/handler/codec/http/HttpMessage;)Ljava/lang/CharSequence;BC
DV?java/nio/charset/CharsetGforName.(Ljava/lang/String;)Ljava/nio/charset/Charset;IJ
HKunsupportedException.Ljava/nio/charset/UnsupportedCharsetException;defaultCharsetcharsetCharSequencegetCharsetAsStringCONTENT_TYPER
	@S	
	UindexOfIgnoreCaseAscii4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)IWX
PY??
P[V[subSequence(II)Ljava/lang/CharSequence;^_V`indexOfEncodingindexOfCharsetcontentTypeValuegetMimeType
	findexOfSemicolonencodeAscii04(Ljava/lang/CharSequence;Lio/netty/buffer/ByteBuf;)VcharAt(I)CklVmc2b(C)Bop
qio/netty/buffer/ByteBufs	writeByte(I)Lio/netty/buffer/ByteBuf;uv
twiseqbufLio/netty/buffer/ByteBuf;cC,io/netty/handler/codec/http/EmptyHttpHeaders?
?	?CHARSET?
	K?=?of5(Ljava/lang/CharSequence;)Lio/netty/util/AsciiString;??
P?;?
DeprecatedRuntimeVisibleAnnotationsCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
SourceFile1??	


?/*????-	?_"*??*??*??*?"????"#$?45!4? @	%??<'*?*?0?1*??**??#*??*?"?*?3?*?6????<#$?=
>?0@;=?:@	78??A*?>?C?IL+??N+?T??*?Z?`??N+?T????c+?T??Ade
4fg?J
KLO)P9R??V@	hi?I*?>*?Z?l??demn?
kl	hj???+?`? ?*?C?rW?+*?C?N?vW??*?C?c?vW?*?C?rW?? ?wx?yz?mn?"????$?(?6?>??
	{|??A*?>??IL+?+???*???A 	?? ???Y??Y?????????????? Ade
4??%????
????"?$???,?
	{???-*?>??IN-?-???:?*???7	??????4??-de-??
 ??!???&	?
?????!?(?+???:,??	{??B?*????????de????
????o*?>L*???1*??M??,?????+???ę+?Ƕę??4*?ə-*??M,????e?+?ֶę+?ٶę???*&??H%??odehwx?:????&?0?6?9?C?H?Z?d?j?m??
?9E0	???J*?>???vW??de???
??	?8?7
*?>??Ĭ?
?e??	?8?j!*???*?>???IL???+????!de???	
?	?8?~-*???*?>???IL+????+??????-de???	?	?!,@
?8?Y*???*?Z????????de?'('?@	?i?o%?*?>????vW?*?>???rW??%de%n?346$8?	8?;*?>???
??de?A	i???#*?>???vW*?>??rW?}*?>??M,????Y,?N-?:?"?$?&?V:??T?
?(???-??*?>??rW?*?>?-?+W??>b?g1m,.DZ/.LR13??e?4n? 1m,-DZ/0LR12?FLMN$P1Q:R;TDULVVWbXmYt[w\?]?_?b?$??'?
	56?2*??T?IL+?2+?V?Z=?$?V?\`>+?]?++?]?a???*(b?&c?Bde
5dg?"?
????(?2?@???@V	eC??9*?>?T?IL+?)+?g?Z=?+?a?+?]?+???? h?9de
,dg??
????(?7???(V@V?ij??$*?]=>?+*?n?r?xW?????*	y?$zg${|???????#??
?	?
op?D???????}~???A
?P0??Y??????Y??????????????V????g??)
*&+?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy