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

com.groupbyinc.flux.common.http.impl.nio.client.MainClientExec.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2->com/groupbyinc/flux/common/http/impl/nio/client/MainClientExecjava/lang/ObjectBcom/groupbyinc/flux/common/http/impl/nio/client/InternalClientExecMainClientExec.javalog7Lcom/groupbyinc/flux/common/apache/commons/logging/Log;
httpProcessor8Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;proxyHttpProcessorroutePlanner?Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoutePlanner;targetAuthStrategy?Lcom/groupbyinc/flux/common/http/client/AuthenticationStrategy;proxyAuthStrategyuserTokenHandler9Lcom/groupbyinc/flux/common/http/client/UserTokenHandler;redirectStrategy9Lcom/groupbyinc/flux/common/http/client/RedirectStrategy;
routeDirector@Lcom/groupbyinc/flux/common/http/conn/routing/HttpRouteDirector;
authenticator=Lcom/groupbyinc/flux/common/http/impl/auth/HttpAuthenticator;j(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoutePlanner;Lcom/groupbyinc/flux/common/http/client/RedirectStrategy;Lcom/groupbyinc/flux/common/http/client/AuthenticationStrategy;Lcom/groupbyinc/flux/common/http/client/AuthenticationStrategy;Lcom/groupbyinc/flux/common/http/client/UserTokenHandler;)V()V
getClass()Ljava/lang/Class; 
!	@	B	D?com/groupbyinc/flux/common/http/conn/routing/BasicRouteDirectorF
G	I;com/groupbyinc/flux/common/http/impl/auth/HttpAuthenticatorK:(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;)VM
LN	Pthis@Lcom/groupbyinc/flux/common/http/impl/nio/client/MainClientExec;prepare?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)V-com/groupbyinc/flux/common/http/HttpExceptionVjava/io/IOExceptionX5com/groupbyinc/flux/common/apache/commons/logging/LogZisDebugEnabled()Z\][^java/lang/StringBuilder`
a[exchange: cappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;ef
ag=com/groupbyinc/flux/common/http/impl/nio/client/InternalStateigetId()Jkl
jm(J)Ljava/lang/StringBuilder;eo
ap] start executionrtoString()Ljava/lang/String;tu
avdebug(Ljava/lang/Object;)Vxy[zgetLocalContextE()Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;|}
j~;com/groupbyinc/flux/common/http/client/methods/Configurable?	getConfig?()Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;????Acom/groupbyinc/flux/common/http/client/protocol/HttpClientContext?setRequestConfig@(Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;)V??
??getRedirectLocations()Ljava/util/List;??
??java/util/List?clear???Acom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper?wrapr(Lcom/groupbyinc/flux/common/http/HttpRequest;)Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;??
??=com/groupbyinc/flux/common/http/conn/routing/HttpRoutePlanner?determineRoute?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;????Mcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler?setRoute;(Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;)V??
??setMainRequestF(Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;)V??
j?setCurrentRequest??
??prepareRequest?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)V??
?config=Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;target*Lcom/groupbyinc/flux/common/http/HttpHost;original-Lcom/groupbyinc/flux/common/http/HttpRequest;state?Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;handlerRLcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler<*>;OLcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;localContextCLcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;redirectLocations Ljava/util/List;Ljava/util/List;requestCLcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;route8Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;generateRequest?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)Lcom/groupbyinc/flux/common/http/HttpRequest;getRoute:()Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;??
??verifytRoute?
??isRouteEstablished?]
??6com/groupbyinc/flux/common/http/conn/routing/HttpRoute?getActualRoute??
??>com/groupbyinc/flux/common/http/conn/routing/HttpRouteDirector?nextSteps(Lcom/groupbyinc/flux/common/http/conn/routing/RouteInfo;Lcom/groupbyinc/flux/common/http/conn/routing/RouteInfo;)I????onRouteToTarget?
??onRouteToProxy?
??] Tunnel required?createConnectRequest?(Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;)Lcom/groupbyinc/flux/common/http/HttpRequest;??
?Proxy chains are not supported?(Ljava/lang/String;)V?
W?onRouteUpgrade?
??%Unable to establish route: planned = ?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;e?
a?; current = ?onRouteComplete?
??Connection route established?java/lang/IllegalStateException?Unknown step indicator ?(I)Ljava/lang/StringBuilder;e
a from RouteDirector.
??getCurrentRequestE()Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;
?	getMainRequest
jincrementExecCount
jgetExecCount()I
jgetRequestProducerI()Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;
jEcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducerisRepeatable]isRequestContentProduced]
jDcom/groupbyinc/flux/common/http/client/NonRepeatableRequestException!:Cannot retry request with a non-repeatable request entity.#
"?resetRequest&'
] Attempt ) to execute request+
Authorization-containsHeader(Ljava/lang/String;)Z/0
?1getTargetAuthState2()Lcom/groupbyinc/flux/common/http/auth/AuthState;34
?5Target auth state: 7.com/groupbyinc/flux/common/http/auth/AuthState9getState:()Lcom/groupbyinc/flux/common/http/auth/AuthProtocolState;;<
:=generateAuthResponse?(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/auth/AuthState;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V?@
LAProxy-AuthorizationCisTunnelledE]
?FgetProxyAuthStateH4
?IProxy auth state: K
getConnection=()Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection;MN
?Ohttp.connectionQsetAttribute'(Ljava/lang/String;Ljava/lang/Object;)VST
?UgetRequestConfigW?
?X;com/groupbyinc/flux/common/http/client/config/RequestConfigZgetSocketTimeout\
[]9com/groupbyinc/flux/common/http/nio/NHttpClientConnection_setSocketTimeout(I)Vab`cconnectfactstepIrequestProducerGLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;targetAuthState0Lcom/groupbyinc/flux/common/http/auth/AuthState;proxyAuthStatecurrentRequestmanagedConn;Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection;produceContent?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V] produce contentssetRequestContentProducedu
jvf(Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)Vqxy2com/groupbyinc/flux/common/http/nio/ContentEncoder{isCompleted}]|~encoder4Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;ioctrl/Lcom/groupbyinc/flux/common/http/nio/IOControl;requestCompleted] Request completed?9(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V???responseReceived?(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)V] Response received ?,com/groupbyinc/flux/common/http/HttpResponse?
getStatusLine.()Lcom/groupbyinc/flux/common/http/StatusLine;????
http.response?6com/groupbyinc/flux/common/http/protocol/HttpProcessor?processg(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V????setCurrentResponse1(Lcom/groupbyinc/flux/common/http/HttpResponse;)V??
??*com/groupbyinc/flux/common/http/StatusLine?
getStatusCode???(Unexpected response to CONNECT request: ?onRouteTunnelToTarget?
??handleConnectResponse?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)Z??
?setFinalResponse??
j?handleResponse??
?getFinalResponse0()Lcom/groupbyinc/flux/common/http/HttpResponse;??
j?getResponseConsumerJ()Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;??
j?Fcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer?????statusresponseConsumerKLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer<*>;HLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;response.Lcom/groupbyinc/flux/common/http/HttpResponse;contextconsumeContent?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V] Consume content?f(Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V????	getTmpbuf()Ljava/nio/ByteBuffer;??
j?java/nio/ByteBuffer?()Ljava/nio/Buffer;??
??2com/groupbyinc/flux/common/http/nio/ContentDecoder?read(Ljava/nio/ByteBuffer;)I????tmpbufLjava/nio/ByteBuffer;decoder4Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;responseCompletedgetCurrentResponse??
??manageConnectionPersistence?]
??releaseConnection?
??6com/groupbyinc/flux/common/http/auth/AuthProtocolState?SUCCESS8Lcom/groupbyinc/flux/common/http/auth/AuthProtocolState;??	??
getAuthScheme3()Lcom/groupbyinc/flux/common/http/auth/AuthScheme;??
:?/com/groupbyinc/flux/common/http/auth/AuthScheme?isConnectionBased?]??] Resetting proxy auth state?reset?
:?] Resetting target auth state?getUserToken()Ljava/lang/Object;
?7com/groupbyinc/flux/common/http/client/UserTokenHandlerJ(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Ljava/lang/Object;http.user-token
???] Response processedgetRedirectA()Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;
j=com/groupbyinc/flux/common/http/client/methods/HttpUriRequestgetURI()Ljava/net/URI;] Redirecting to ''java/net/URIsetRedirectB(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;)V !
j"5com/groupbyinc/flux/common/http/client/utils/URIUtils$extractHost:(Ljava/net/URI;)Lcom/groupbyinc/flux/common/http/HttpHost;&'
%(1com/groupbyinc/flux/common/http/ProtocolException*1Redirect URI does not specify a valid host name: ,
+?(com/groupbyinc/flux/common/http/HttpHost/
getTargetHost,()Lcom/groupbyinc/flux/common/http/HttpHost;12
?3equals(Ljava/lang/Object;)Z56
07headerIterator2()Lcom/groupbyinc/flux/common/http/HeaderIterator;9:;.com/groupbyinc/flux/common/http/HeaderIterator=hasNext?]>@getOriginal/()Lcom/groupbyinc/flux/common/http/HttpRequest;BC
?D+com/groupbyinc/flux/common/http/HttpRequestF
getAllHeaders+()[Lcom/groupbyinc/flux/common/http/Header;HIGJ
setHeaders,([Lcom/groupbyinc/flux/common/http/Header;)VLMN
?7
authScheme1Lcom/groupbyinc/flux/common/http/auth/AuthScheme;redirect?Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;uriLjava/net/URI;	newTarget
newRequestnewRoutecurrentResponse	keepAliveZ	userTokenLjava/lang/Object;rewriteRequestURI~(Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;)Vjava/net/URISyntaxExceptiona
?getProxyHostd2
?e
isAbsoluteg]
h
rewriteURII(Ljava/net/URI;Lcom/groupbyinc/flux/common/http/HttpHost;Z)Ljava/net/URI;jk
%l(Ljava/net/URI;)Ljava/net/URI;jn
%osetURI(Ljava/net/URI;)Vqr
?s
Invalid URI: ugetRequestLine/()Lcom/groupbyinc/flux/common/http/RequestLine;wx
?y+com/groupbyinc/flux/common/http/RequestLine{getUri}u|~*(Ljava/lang/String;Ljava/lang/Throwable;)V?
+?exLjava/net/URISyntaxException;"java/lang/IllegalArgumentException?Gycreate"(Ljava/lang/String;)Ljava/net/URI;??
?java/lang/String?Unable to parse '?' as a valid URI; ?/request URI and Host header may be inconsistent?*(Ljava/lang/Object;Ljava/lang/Throwable;)Vx?[?_`
?getHost?u
?getPort?
?	getScheme?u
?((Ljava/lang/String;ILjava/lang/String;)V?
0?getUserInfo?u
?getCredentialsProvider>()Lcom/groupbyinc/flux/common/http/client/CredentialsProvider;??
??.com/groupbyinc/flux/common/http/auth/AuthScope?-(Lcom/groupbyinc/flux/common/http/HttpHost;)V?
??@com/groupbyinc/flux/common/http/auth/UsernamePasswordCredentials?
??:com/groupbyinc/flux/common/http/client/CredentialsProvider?setCredentialse(Lcom/groupbyinc/flux/common/http/auth/AuthScope;Lcom/groupbyinc/flux/common/http/auth/Credentials;)V????http.request?http.target_host?
http.route?f(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V????$Ljava/lang/IllegalArgumentException;	uriStringLjava/lang/String;
credsProvider;)V?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler<*>;)Lcom/groupbyinc/flux/common/http/HttpRequest;?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler<*>;)V?(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler<*>;)V?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler<*>;)Z
SourceFile 
	

 n*?**?"?(?**+?,*?.Y?0Y?2Y?3SY?5Y?6S?9?;*,?=*-??*?A*?C*?E*?GY?H?J*?LY*?*?O?Q?!HnRSn
n
nnnn"2eRfg7i<jAkGlMmSn^ompTU ?	?*?*?_?'*?*?aY?bd?h-?n?qs?h?w?{-?:,???,????:?
????:?
??,??:*?=+??:??-????*-???!f
H???RS????????????6c??[>??m,??}??#???[>??"Fxy0|6~=H?M?T?[?`?g?m?}?????????$0?#???%WY&'?? ??,??N,??,?њ,??:*?J-??6????????*18|?,?ߧ?,???*?*?_?'*?*?aY?bd?h+?n?q?h?w?{*-+??:,?????s?WY???,??]?WY?aY?b?h-????h???w???,??*?*??{?&??Y?aY?b?h??h?w????+?:,?
:?+?
:,??,?љ+?+??,+?:??+? ??"Y$?%??(*?*?_?5*?*?aY?bd?h+?n?q*?h+??,?h?w?{.?2?D?6:*?*?_?$*?*?aY?b8?h?>???w?{*?Q?BD?2??-?G???J:*?*?_?$*?*?aY?bL?h?>???w?{*?Q?B?OD?2?D?J:*?*?_?$*?*?aY?bL?h?>???w?{*?Q?B,?P:R?V?Y:?^??^?d?!??we??f?$?ghH#ij?:kl:ml]:ml?RS?????????????n??(op???#???"?<??	???$?P?T?W?[?^?j???????????????????????
????#?)?/?6?:?B?H?Y?d?k?w????????????????;?H?K?V?]?i???????????????$T?????/	$?"?????4?=?>:??E:??>:??*`[%YW&(qr ?U*?*?_?(*?*?aY?bd?h+?n?qt?h?w?{+?:+?w,-?z,??
?(?!4URSU??U??U??7ij""17;DMT
$	1?"%Y?? ?E*?*?_?(*?*?aY?bd?h+?n?q??h?w?{+?N+?:-???!4ERSE??E??6??<	ij#E??"16<D$1&)?? ??*?*?_?1*?*?aY?bd?h,?n?q??h+?????w?{,?:?+?V*?,+??-+??-?њ^+????6Ȣ$?WY?aY?b??h+?????w???Ƞ-??-???*,-???,+???*,-???,+??,???,??:+???!HnK?h????RS?????????@???#??????"Z: @!I"U$Z&a'n(v)?,?-?.?0?1?4?5?6?9?:?;?=$:?\??

%YW&*?? ?`*?*?_?(*?*?aY?bd?h+?n?qʶh?w?{+???+??:,-???+??:??W,??W?!>>	??P??`RS`??`??`??#>	??"*
DE1G8H>IGJJKPLVM_O$1%Y?? s?+?N,??:,?њ????6Ƞ	,???,??6??,??-?J:?>??N???F?????9*?*?_?(*?*?aY?bd?h+?n?q??h?w?{??-?6:?>??N???F?????9*?*?_?(*?*?aY?bd?h+?n?q?h?w?{??-?:?*?E-?	:-?V+???I+??:-?
*?*?_?(*?*?aY?bd?h+?n?q?h?w?{,???+???+?:?:*?*?_?3*?*?aY?bd?h+?n?q?h???h?w?{+?#?):		? ?+Y?aY?b-?h???w?.?,??:

?4	?8??-?6:*?*?_?(*?*?aY?bd?h+?n?q?h?w?{??-?J:??:

?C
???9*?*?_?(*?*?aY?bd?h+?n?q??h?w?{???<?A?+?
?E:?K?O??:*?=	-??:
?P?,??,??,??+??*+,??,???!? ?hC?ml?Vkl"=????kl7Lml>EQR
???owSTxnUV?&W?	????
?6X??&Y??RS??????????Z?4?[\??]^#"=?????"AUVXY Z([-\.`4a9b=cCdcgoh?j?l?m?p?q?s?w?xyz}~"*?6?[?_?b?i?o?x????????????????????,?1?7?>?M?Y?~???????????????????????????$s?.???e:?V:???E???Q?-0?I?:?Q:??%?$???j???%YW&)_` 5|+?cN-?L,?f?*,?G?#-?i?,?4:-?mN?!-?pN?-?i?
-?mN?-?pN+-?t?)N?+Y?aY?bv?h+?z??h?w-????RUb!>$??MUVV%??|RS|??|??"B??	???$?,?/?7?>?H?M?R?U?V?{?$?/?Bb%%+?? ?'+?N,?
:,??:?E::????:?U???:??:?=:	*?*?_?/*?*?aY?b??h?h??h??h?w	???t*??:?+?i?#????0Y????????:?
?4:?.??:		?"-??:

??Y????Y	????-??V-??V-??V*?,-???@GJ?!?
L8??	@D?????
?$??	'RS'??'??"??n?????UV????#'??"z??????#?2?@?G?J?L?X??????????????????????????&	$Q?2j????G?	j????G???9?>0/%YW&)?? 		g+?4N-??:-??6?aY??`??:?hW:??W?ٶhW??Y??w???:,?:*?;???!\	gRSg??g??b??\??V?h"E??Q??W??"."*2=QWd%YW?? 4
a+?N-?Y:??O-??:?D,??:?f:,??:-?J:	*?Q*?C	-??*?Q*?C	-????!f
$;??+4??1.Z?7(ml	F??aRSa??a??\??V??#a??"2 !"#$%$&+'1(7)L+_0$?_?[%W&+?? 
	?+?N-?Y:??E*+,???<,?
:?E:.???.??D???D??????|,?
:,??:*??-??_????d6+??&?
Y?aY?b?h??h?w??+?*??-?:+?#??!p"3n?),???Hh?STcsn?imZ??RS????????????#???"^6789;"<)=6>>@KASCUF]GcHiIzJ?K?L?N?O?Q?R?U$4?>j??[?G??4G?A?-?%W&+?? =
?+?N-??:??,??:,??:-?:?
?4:?̜?0Y???4?????:-?6:-?J:	*?Q*?A-??6
?f:?
?4:*?Q*?C	-??6
?*?Q*?A-????*?Q*?C	-????!?
????Z?"???Wqkl]kml	qW\
xP???0\?RS????????????#???"Z[\]^_`"a'b.d6eQjWk]mqpxr}s?u?x?y?|?}??$e?.j?????0"?2j?????0::0?+?j???%W&+,




© 2015 - 2024 Weber Informatics LLC | Privacy Policy