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

com.groupbyinc.flux.common.http.client.utils.URIUtils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2k5com/groupbyinc/flux/common/http/client/utils/URIUtilsjava/lang/Object
URIUtils.java	createURIk(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;java/net/URISyntaxExceptionLjava/lang/Deprecated;java/lang/StringBuilder()V

append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
://(C)Ljava/lang/StringBuilder;
(I)Ljava/lang/StringBuilder;
/java/lang/String
startsWith(Ljava/lang/String;)Z!"
 #java/net/URI%toString()Ljava/lang/String;'(
)(Ljava/lang/String;)V
+
&,schemeLjava/lang/String;hostportIpathqueryfragmentbufferLjava/lang/StringBuilder;
rewriteURII(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/HttpHost;Z)Ljava/net/URI;URI:)com/groupbyinc/flux/common/http/util/Args<notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;>?
=@isOpaque()ZBC
&D7com/groupbyinc/flux/common/http/client/utils/URIBuilderF(Ljava/net/URI;)V
H
GI(com/groupbyinc/flux/common/http/HttpHostK
getSchemeNameM(
LN	setSchemeM(Ljava/lang/String;)Lcom/groupbyinc/flux/common/http/client/utils/URIBuilder;PQ
GRgetHostNameT(
LUsetHostWQ
GXgetPort()IZ[
L\setPort<(I)Lcom/groupbyinc/flux/common/http/client/utils/URIBuilder;^_
G`setFragmentbQ
GcgetPathe(
Gf.com/groupbyinc/flux/common/http/util/TextUtilshisEmpty(Ljava/lang/CharSequence;)Zjk
ilsetPathnQ
Gobuild()Ljava/net/URI;qr
GsuriLjava/net/URI;target*Lcom/groupbyinc/flux/common/http/HttpHost;dropFragmentZ
uribuilder9Lcom/groupbyinc/flux/common/http/client/utils/URIBuilder;H(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/HttpHost;)Ljava/net/URI;89
~(Ljava/net/URI;)Ljava/net/URI;getUserInfo?(
G?setUserInfo?Q
G?getHost?(
G?java/util/Locale?ROOTLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
 ?rewriteURIForRouteV(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/conn/routing/RouteInfo;)Ljava/net/URI;6com/groupbyinc/flux/common/http/conn/routing/RouteInfo?getProxyHost,()Lcom/groupbyinc/flux/common/http/HttpHost;????isTunnelled?C??
isAbsolute?C
&?
getTargetHost????8?
?route8Lcom/groupbyinc/flux/common/http/conn/routing/RouteInfo;resolve0(Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;create"(Ljava/lang/String;)Ljava/net/URI;??
&?,(Ljava/net/URI;Ljava/net/URI;)Ljava/net/URI;??
?baseURI	referenceBase URI?
Reference URI?
toASCIIString?(
&???indexOf(I)I??
 ?	substring(II)Ljava/lang/String;??
 ?jC
 ?#???
&?normalizeSyntax??
?"java/lang/IllegalArgumentException?(Ljava/lang/Throwable;)V
?
??baseUriiresolvedStringresolvedexLjava/net/URISyntaxException;semptyReferencegetAuthority?(
&?Base URI must be absolute?check(ZLjava/lang/String;)V??
=?equals(Ljava/lang/Object;)Z??
 ?split'(Ljava/lang/String;)[Ljava/lang/String;??
 ?java/util/Stack?
?[Ljava/lang/String;?.?..?
??pop()Ljava/lang/Object;??
??push&(Ljava/lang/Object;)Ljava/lang/Object;??
??iterator()Ljava/util/Iterator;??
?java/util/IteratorhasNextCnext?lastIndexOf
?
 length
[
 	getScheme(
GinputSegmentarr$len$i$
outputSegmentLjava/util/Iterator;
inputSegmentsoutputSegments%Ljava/util/Stack;Ljava/util/Stack;outputBufferbuilderextractHost:(Ljava/net/URI;)Lcom/groupbyinc/flux/common/http/HttpHost;java/lang/NumberFormatException!
&\
&?(I)Ljava/lang/String;?%
 &charAt(I)C()
 *java/lang/Character,isDigit(C)Z./
-0java/lang/Integer2parseInt(Ljava/lang/String;)I45
36
&isBlank9k
i:((Ljava/lang/String;ILjava/lang/String;)V
<
L=!Ljava/lang/NumberFormatException;poslencolonatignore$Ljava/lang/IllegalArgumentException;X(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/HttpHost;Ljava/util/List;)Ljava/net/URI;Request URIGjava/util/ListIJ?sizeL[JMget(I)Ljava/lang/Object;OPJQgetFragmentS(
GT
&T
G?fragoriginalURI	redirects Ljava/util/List;Ljava/util/List;
this7Lcom/groupbyinc/flux/common/http/client/utils/URIUtils;CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
DeprecatedRuntimeVisibleAnnotationsLocalVariableTypeTable	Signatureh(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/HttpHost;Ljava/util/List;)Ljava/net/URI;
SourceFile!	`W??Y?:+?0*?*?W?W+?W?:?W?W-?-?$?/?W-?
-?W???W?W?#?W?W?&Y?*?-?aH?./?0/?12?3/?4/?5/	?67bRT	U
VWX Z'[+\3]:`GaOcSdZf_gghojtk|l?nc? 
d	ef
	89`m*;?AW*?E?*??GY*?JN+?!-+?O?SW-+?V?YW-+?]?aW?-?SW-?YW-?aW?	-?dW-?g?m?
-?pW-?t?a*muvmwxmyzT{|bB??????&?/?;?A?G?M?Q?W?a?h?c?*G	d		8}`;*+??auvwxb?d		8?`?X*;?AW*?E?*??GY*?JL+???	+??W+?g?m?
+?pW+???++???????YW+?dW+?t?aXuv?{|b2????? ?&?0?7?>?M?S?c?Gd		??`?E*??+???&+???*???+??M*,??*???*???
*??*???a &wxEuvE??b*
?????&?-?2?9?@?c&
d		??`=	*+?????a	?v	?/b?	??`??*??AW+??AW+??M,??$?8*??N-???6?
-?ħ-N?Y?-?,??*???,??>?**ȸ???:??:#???ĸ?:?
*+??:?Ͱ:??Y?ҿ???	af
!0?/)(?2l?/e?v?
????v??v??/VD?z??vbJ?????!);QVZel	~
????c!?9  @ ??/?&E	??`u	#*?E?
*???*?*??߸?GY*?JL+?gM,??,???,??N??Y??:-:?66?H2:?ƚ3????&????????W???W?????Y?:?:???	? :/??W???,/?,?d?/?W+?*?pW+??++??????SW+???++???????YW+?t?az]8/GT?LO2OL2?
/?&;??D??N7#uv"|'?3/gD?bj !""'#4$;%D&]'r)|*?+?.?&?1?2?3?5?7?9?;?<>?Ac>
?>&G ????" ????%?	d		 `Z	?*??L*????*?#=*?$N-??*??N-??-@??6?-?`?-`?'N?N-?\-:??6?O`666-??-?+?1???????-`?ĸ7=?:-??N*?8:-?;??LY-?>L?:+????"????azj?2???cF@2fCA2XQB2.{C2?DE?12?0/?./?uv?wxb?"NOQRSTUW"X&Z.[3\>]J_LcPdXe]fcgfhsij?h?o?q?s?r?u?z?{?}??~??c_
?C&L ?	&L ?V"?&L ?&L  ??	?F`|?*H?AW,?,?K??GY*?JN?S?GY,,?Nd?R?&?JN-?U:,?Nd6??,?R?&?V:?????-?dW-?U?-*?V?dW+?%-?W?-+?O?SW-+?V?YW-+?]?aW-?t?aH{|J ?2@1X/?Yv?wx?Z\:r{|g?Z[bB???!?:?@?T?d?j?q?x???????????c?(G ??%d	hi
`3*?]?a^_b
??j




© 2015 - 2024 Weber Informatics LLC | Privacy Policy