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

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

There is a newer version: 198
Show newest version
????2?Scom/groupbyinc/flux/common/http/impl/nio/client/PipeliningClientExchangeHandlerImpleLcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;Mcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler(PipeliningClientExchangeHandlerImpl.java8Lcom/groupbyinc/flux/common/http/nio/protocol/Pipelined;target*Lcom/groupbyinc/flux/common/http/HttpHost;requestProducerQueueLjava/util/Queue;ZLjava/util/Queue;responseConsumerQueue`Ljava/util/Queue;>;requestQueue@Ljava/util/Queue;resultQueueLjava/util/Queue;localContextCLcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;resultFuture8Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture;OLcom/groupbyinc/flux/common/http/concurrent/BasicFuture;>;
httpProcessor8Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;requestProducerRef-Ljava/util/concurrent/atomic/AtomicReference;vLjava/util/concurrent/atomic/AtomicReference;responseConsumerRef|Ljava/util/concurrent/atomic/AtomicReference;>;?(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;Lcom/groupbyinc/flux/common/http/HttpHost;Ljava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture;Lcom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManager;Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;)Vw(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture;Lcom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManager;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;)V!
"HTTP target$)com/groupbyinc/flux/common/http/util/Args&notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;()
'*Request producer list,notEmpty@(Ljava/util/Collection;Ljava/lang/String;)Ljava/util/Collection;./
'0Response consumer list2java/util/List4size()I67585com/groupbyinc/flux/common/apache/commons/logging/Log:(com/groupbyinc/flux/common/http/HttpHost<Acom/groupbyinc/flux/common/http/client/protocol/HttpClientContext>6com/groupbyinc/flux/common/http/concurrent/BasicFuture@Ecom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManagerB6com/groupbyinc/flux/common/http/protocol/HttpProcessorD7com/groupbyinc/flux/common/http/ConnectionReuseStrategyF@com/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategyHENumber of request producers does not match that of response consumersJcheck(ZLjava/lang/String;)VLM
'N		P*java/util/concurrent/ConcurrentLinkedQueueR(Ljava/util/Collection;)VT
SU
	W
	Y()V[
S\	^	`	b	d	f+java/util/concurrent/atomic/AtomicReferenceh(Ljava/lang/Object;)Vj
ik	m	othisZLcom/groupbyinc/flux/common/http/impl/nio/client/PipeliningClientExchangeHandlerImpl;ULcom/groupbyinc/flux/common/http/impl/nio/client/PipeliningClientExchangeHandlerImpl;log7Lcom/groupbyinc/flux/common/apache/commons/logging/Log;requestProducersZLjava/util/List<+Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;>;Ljava/util/List;responseConsumers`Ljava/util/List<+Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;>;connmgrGLcom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManager;connReuseStrategy9Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;keepaliveStrategyBLcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;
closeProducerJ(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;)Vjava/io/IOException?Ecom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer?close?[??tu	?"I/O error closing request producer?debug*(Ljava/lang/Object;Ljava/lang/Throwable;)V??;?exLjava/io/IOException;requestProducerGLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;
closeConsumerK(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;)VFcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer???#I/O error closing response consumer?responseConsumerKLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer<*>;HLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;releaseResources	getAndSet&(Ljava/lang/Object;)Ljava/lang/Object;??
i???
???
?java/util/Queue?isEmpty()Z????remove()Ljava/lang/Object;????clear?[??executionFailed(Ljava/lang/Exception;)Vget??
i?failed??????iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next????cancel????cancellableMLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;i$Ljava/util/Iterator;Ljava/lang/Exception;executionCancelled
A?	cancelledZstart-com/groupbyinc/flux/common/http/HttpException?isDebugEnabled??;?java/lang/StringBuilder?
?\[exchange: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??getId()J??
?(J)Ljava/lang/StringBuilder;??
??] start execution?toString()Ljava/lang/String;??
???j;?6com/groupbyinc/flux/common/http/conn/routing/HttpRoute?-(Lcom/groupbyinc/flux/common/http/HttpHost;)V?
??setRoute;(Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;)V??
?http.target_host?setAttribute'(Ljava/lang/String;Ljava/lang/Object;)V
?
http.routerequestConnection[
route8Lcom/groupbyinc/flux/common/http/conn/routing/HttpRoute;generateRequest/()Lcom/groupbyinc/flux/common/http/HttpRequest;verifytRoute
[
isRouteEstablished?
onRouteToTarget[
onRouteComplete[

getConnection=()Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection;
http.connection9com/groupbyinc/flux/common/http/nio/NHttpClientConnection7Inconsistent state: currentRequest producer is not null!,com/groupbyinc/flux/common/http/util/Asserts#
$Npoll&??'set)j
i*?,Acom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper.wrapr(Lcom/groupbyinc/flux/common/http/HttpRequest;)Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;01
/2getRequestConfig?()Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;45
?6;com/groupbyinc/flux/common/http/client/config/RequestConfig8getSocketTimeout:7
9;setSocketTimeout(I)V=> ?+com/groupbyinc/flux/common/http/HttpRequestAprocessf(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)VCDEEadd(Ljava/lang/Object;)ZGH?IsetCurrentRequestF(Lcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;)VKL
M	localConn;Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection;original-Lcom/groupbyinc/flux/common/http/HttpRequest;currentRequestCLcom/groupbyinc/flux/common/http/client/methods/HttpRequestWrapper;config=Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;produceContentf(Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V] produce contentY,Inconsistent state: request producer is null[WX?]2com/groupbyinc/flux/common/http/nio/ContentEncoder_isCompleteda?`bresetRequestd[?eencoder4Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;ioctrl/Lcom/groupbyinc/flux/common/http/nio/IOControl;requestCompleted] Request completedl9(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Vkn?o
getMessageq?
?rioexresponseReceived1(Lcom/groupbyinc/flux/common/http/HttpResponse;)V] Response received w,com/groupbyinc/flux/common/http/HttpResponsey
getStatusLine.()Lcom/groupbyinc/flux/common/http/StatusLine;{|z}-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
??1Inconsistent state: response consumer is not null?4Inconsistent state: response consumer queue is empty?*Inconsistent state: request queue is empty?http.request?
http.response?g(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)VC?E?uv??setCurrentResponse?v
?response.Lcom/groupbyinc/flux/common/http/HttpResponse;requestconsumeContentf(Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V] Consume content?-Inconsistent state: response consumer is null?????decoder4Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;responseCompletedjava/lang/RuntimeException?] Response processed?manageConnectionPersistence??
??n??	getResult????getException()Ljava/lang/Exception;????java/lang/Object?java/lang/Exception?
?isDone??
A?java/util/ArrayList?
?U	completed?H
A?
?9com/groupbyinc/flux/common/http/ConnectionClosedException?Connection closed?(Ljava/lang/String;)V?
??
requestOutput?[ ?resultTT;Ljava/lang/Object;Ljava/lang/RuntimeException;	keepAliveinputTerminatedabortConnectiondiscardConnection?[
?	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;Lcom/groupbyinc/flux/common/http/HttpHost;Ljava/util/List<+Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;>;Ljava/util/List<+Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;>;Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture;>;Lcom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManager;Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;)VN(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer<*>;)V
Exceptions
SourceFileRuntimeVisibleAnnotations 
	
?
?????? ???*+	
?#,%?+W--?1W3?1W-?9?9??K?O*,?Q*?SY-?V?X*?SY?V?Z*?SY?]?_*?SY?]?a*?c*?e*?g*?iY?l?n*?iY?l?p??p?qs?tu?	?vx?yx???{|??}~	??
?*?qr?vw?yz??B^_`a%b?dDePf]ghhsiyjk?l?m?n?,?9;=55?ACEGI@??????+?+???M*???,???

?? ??qs???qr?qs
v
tux?M?????+?+???M*???,???

?? ??qs???qr???{}
?
~??M????[??o**?n??????**?p??????*?X???**?X?????????*?Z???**?Z?????????*?_??*?a????oqs?oqr?&	???*?=?I?\?e?n?????Y*?n????M,?
,+??*?p????N-?
-+??*?Z??:???????:??W????>M??7!??YqsY??N??!8??? M??Yqr!8???*
????!?%?,?M?U?X???????
?? ????(*?p????L+?+????=*?e??W?? (qs??
???(qr??????&??
??@?[??^*?????'*????Y????*?????????Y*?Q??L*+??*?c?*?Q?*?c+?*???^qs<"	
?^qr?"??0?<?A?N?Y?]??0????}?*?*??*?*?*?L*?c+?*?n????"?%*?X?(??M,??*?n,?+,?-N-?3:*?c?7:??qs?OPE[??ZFQR`@STi7UV??qr?R??????#?8?E?I?K?S?Z?`?i?q?|????????? @???0B/9???WX??c*?????(*????Y????*???Z????*?n????N-??\?%-+,?^+?c?	-?f??*cqscghcij<'???cqr?"??1?<?K?S?\?b??1??@??k[?o*?????(*????Y????*???m????*?n????L+??\?%+*?c?p+???M*??,?s,???V\_?? `t?oqs=2???oqr?*
??1?=?L?V?\?_?`?n??1??@X?uv?t?*?????1*????Y????*???x??+?~?????*?p??????%*?Z?(??M,????%*?p,?+*?_?(?BN-????%*?c?-?*?c?+?*?g+*?c??,+??*+????*?qs???\d???@?R??qr\d???:??:?O?\?k?s??????
??:
@??@?"B@???????T*?????(*????Y????*????????*?p????N-????%-+,????*TqsT??Tij<???Tqr<???1<KS?1??@???[?u*?????(*????Y????*????????*??<*?p????M,????%,*?c??,??N,??:,???:*???s??-?*?a-?JW?	*??*?e???+*?Z???*?e??Y*?a????W*?a??*?e???
*???1?*??YķǶ??*?:?
???*??N*-??-??jps?Q??Rut??OPb???j?????qs6???B???? b???qrB????~16 B!Q#[$b%j'p*s(u)?+?,?.?0?1?2?5?6?8?9?;?<=
?FCDEG?71??@?'????1? ?B?????[?O*??YķǶ???qs?qr?
KL?[?E*?Ա?qs?qr?
OP???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy