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

com.groupbyinc.flux.common.netty.handler.codec.http.HttpUtil.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?()V
this>Lcom/groupbyinc/flux/common/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
5isKeepAliveD(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;)Z?com/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage9headersC()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;;<:=Ccom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaderNames?
CONNECTIONA
	@B?com/groupbyinc/flux/common/netty/handler/codec/http/HttpHeadersDget,(Ljava/lang/CharSequence;)Ljava/lang/String;FG
EHDcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaderValuesJCLOSEL
	KM1com/groupbyinc/flux/common/netty/util/AsciiStringOcontentEqualsIgnoreCase(Ljava/lang/CharSequence;)ZQR
PSjava/lang/CharSequenceUprotocolVersionC()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;WX:Y?com/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion[isKeepAliveDefault()Z]^
\_
KEEP_ALIVEa
	KbmessageALcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;
connectionLjava/lang/CharSequence;setKeepAliveE(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;Z)V?(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;Z)Vhj
k	keepAliveZremove[(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;op
Eqsetm(Ljava/lang/CharSequence;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;st
EuhALcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;httpVersionALcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;getContentLengthD(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;)JCONTENT_LENGTH}
	@~java/lang/Long?	parseLong(Ljava/lang/String;)J??
??getWebSocketContentLengthD(Lcom/groupbyinc/flux/common/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;webSocketContentLengthJE(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;J)JdefaultValueE(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;I)I???{?
?java/lang/Math?min(JJ)J??
??I?com/groupbyinc/flux/common/netty/handler/codec/http/HttpRequest?>com/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod?GET@Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod;??	??methodB()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod;????
?/SEC_WEBSOCKET_KEY1?
	@?contains?R
E?SEC_WEBSOCKET_KEY2?
	@?@com/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse?statusJ()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus;????Fcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus?code()I??
??SEC_WEBSOCKET_ORIGIN?
	@?SEC_WEBSOCKET_LOCATION?
	@?reqALcom/groupbyinc/flux/common/netty/handler/codec/http/HttpRequest;resBLcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;setContentLengthE(Lcom/groupbyinc/flux/common/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	\?	compareToD(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;)I??
\?set100ContinueExpectedexpectedisTransferEncodingChunkedTRANSFER_ENCODING
	@CHUNKED
	K4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z?
EsetTransferEncodingChunkedgetAll*(Ljava/lang/CharSequence;)Ljava/util/List;

Ejava/util/ListisEmpty^java/util/ArrayList(Ljava/util/Collection;)V
iterator()Ljava/util/Iterator;java/util/IteratorhasNext^next()Ljava/lang/Object;!"#o
%o(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lcom/groupbyinc/flux/common/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
getCharset](Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;)Ljava/nio/charset/Charset;1com/groupbyinc/flux/common/netty/util/CharsetUtil5
ISO_8859_1Ljava/nio/charset/Charset;78	69w(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;3;
<4(Ljava/lang/CharSequence;)Ljava/nio/charset/Charset;N(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;3?
@contentTypeValueCONTENT_TYPEC
	@DdefaultCharset,java/nio/charset/UnsupportedCharsetExceptionGgetCharsetAsSequence2(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;IJ
KV?java/nio/charset/CharsetNforName.(Ljava/lang/String;)Ljava/nio/charset/Charset;PQ
ORignored.Ljava/nio/charset/UnsupportedCharsetException;charsetCharSequencegetCharsetAsString[(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMessage;)Ljava/lang/CharSequence;IX
Yjava/lang/NullPointerException[B
\?	
	_indexOfIgnoreCaseAscii4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Iab
Pc??
PeVesubSequence(II)Ljava/lang/CharSequence;hiVjindexOfEncodingindexOfCharsetgetMimeTypenJ
o
	qindexOfSemicolonDcom/groupbyinc/flux/common/netty/handler/codec/http/EmptyHttpHeadersu
v	xCHARSETz
	K{=}ofM(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/netty/util/AsciiString;?
P?;?
DeprecatedRuntimeVisibleAnnotationsCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
SourceFile1??	


?/*????,	?_"*??*??*??*?"????"#$?34!3? @	%??<'*?*?0?1*??**??#*??*?"?*?3?*?6????<#$?<
=>0?;<?:@	78??A*?>?C?IL+??N+?T??*?Z?`??N+?T????c+?T??Ade
4fg?I
JKN)O9Q??V@	hi?I*?>*?Z?l??demn?
jk	hj???+?`? ?*?C?rW?+*?C?N?vW??*?C?c?vW?*?C?rW?? ?wx?yz?mn?"????$?(?6?>??
	{|??A*?>??IL+?+???*???A 	?? ???Y??Y?????????????? Ade
4??%????
????"?$???,?
	{???)*?>??IN-?-???*???7	?????*)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?./1$3?	?8?;*?>?????de?<		i???#*?>???vW*?>??rW?}*?>??
M,????Y,?N-?:? ?$?$?V:??T?
?&???-??*?>??rW?*?>?-?)W??>b?g1m*,DZ-,LR/1??e?2n? 1m*+DZ-.LR/0?FGHI$K1L:M;ODPLQVRbSmTtVwW?X?Z?]?$??'?
	34?2*?:?=??de?g	3>?K*?*?:?A??:??Bg?rsu?	3;?q*?>?E?IM,?	,+?A?+?? deF8
Bg??
?????V	3???*?*?LM,?,?M?S?N+?+?+?
H?*TU	VgBgF8?"??	?
???????VOVH?	WX?/*?Z??de????	IX?f*?>?E?IL+?+?L???de
Bg??
?????V	IJ??@*??\Y]?^?*?`?d<?$?`?f`=*?g?**?g?k??? &l?@Bg(m??"?????&?0?>???.	nX?f*?>?E?IL+?+?p???de
Bg??
?????V	nJ??5*??\Y]?^?*?r?d<?*?k?*?g?*???5Bgs???&??@Vt
?P0?vY?w?y??Y???|??~???????`????r??(
)&*?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy