
com.groupbyinc.flux.common.http.impl.nio.client.DefaultClientExchangeHandlerImpl.class Maven / Gradle / Ivy
???? 2 ? Pcom/groupbyinc/flux/common/http/impl/nio/client/DefaultClientExchangeHandlerImpl eLcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler; Mcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler %DefaultClientExchangeHandlerImpl.java requestProducer GLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer; responseConsumer HLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer; MLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer; resultFuture 8Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture; =Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture; exec DLcom/groupbyinc/flux/common/http/impl/nio/client/InternalClientExec; state ?Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState; J(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;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/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalClientExec;)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
=com/groupbyinc/flux/common/http/impl/nio/client/InternalState getId ()J " #
$ ?(JLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;)V &
! ' ) this WLcom/groupbyinc/flux/common/http/impl/nio/client/DefaultClientExchangeHandlerImpl; RLcom/groupbyinc/flux/common/http/impl/nio/client/DefaultClientExchangeHandlerImpl; log 7Lcom/groupbyinc/flux/common/apache/commons/logging/Log; localContext CLcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext; connmgr GLcom/groupbyinc/flux/common/http/nio/conn/NHttpClientConnectionManager; connReuseStrategy 9Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy; keepaliveStrategy BLcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy; releaseResources ()V java/io/IOException : Ecom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer < close > 9 = ? . / A "I/O error closing request producer C 5com/groupbyinc/flux/common/apache/commons/logging/Log E debug *(Ljava/lang/Object;Ljava/lang/Throwable;)V G H F I Fcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer K L ? #I/O error closing response consumer N ex Ljava/io/IOException; executionFailed (Ljava/lang/Exception;)V failed T S = U L U Ljava/lang/Exception; executionCancelled ()Z cancel [ Z L \ getResult ()Ljava/lang/Object; ^ _ L ` getException ()Ljava/lang/Exception; b c L d 6com/groupbyinc/flux/common/http/concurrent/BasicFuture f (Ljava/lang/Exception;)Z T h
g i java/lang/Object k java/lang/Exception m completed (Ljava/lang/Object;)Z o p
g q
g \ cancelled Z result TT; Ljava/lang/Object; start -com/groupbyinc/flux/common/http/HttpException z getTarget ,()Lcom/groupbyinc/flux/common/http/HttpHost; | } = ~ generateRequest /()Lcom/groupbyinc/flux/common/http/HttpRequest; ? ? = ? Acom/groupbyinc/flux/common/http/client/methods/HttpExecutionAware ? setCancellable ;(Lcom/groupbyinc/flux/common/http/concurrent/Cancellable;)V ? ? ? ? (com/groupbyinc/flux/common/http/HttpHost ? +com/groupbyinc/flux/common/http/HttpRequest ? Bcom/groupbyinc/flux/common/http/impl/nio/client/InternalClientExec ? 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 ? ? ? ? requestConnection ? 9
? target *Lcom/groupbyinc/flux/common/http/HttpHost; original -Lcom/groupbyinc/flux/common/http/HttpRequest; ?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)Lcom/groupbyinc/flux/common/http/HttpRequest; ? ? ? ? produceContent f(Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V ?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/nio/ContentEncoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V ? ? ? ? encoder 4Lcom/groupbyinc/flux/common/http/nio/ContentEncoder; ioctrl /Lcom/groupbyinc/flux/common/http/nio/IOControl; requestCompleted ?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/impl/nio/client/AbstractClientExchangeHandler;)V ? ? ? ? responseReceived 1(Lcom/groupbyinc/flux/common/http/HttpResponse;)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 ? ? ? ? response .Lcom/groupbyinc/flux/common/http/HttpResponse; consumeContent f(Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V ?(Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalState;Lcom/groupbyinc/flux/common/http/nio/ContentDecoder;Lcom/groupbyinc/flux/common/http/nio/IOControl;)V ? ? ? ? 2com/groupbyinc/flux/common/http/nio/ContentDecoder ? isCompleted ? Z ? ? isDone ? Z L ? markConnectionNonReusable ? 9
?
markCompleted ? 9
? releaseConnection ? 9
?
? java/lang/Throwable ? decoder 4Lcom/groupbyinc/flux/common/http/nio/ContentDecoder; responseCompleted ? ? ? ? getFinalResponse 0()Lcom/groupbyinc/flux/common/http/HttpResponse; ? ?
! ?
g ?
getConnection =()Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection; ? ?
? 9com/groupbyinc/flux/common/http/nio/NHttpClientConnection ? isOpen ? Z ? ?
requestOutput ? 9 ? ? localConn ;Lcom/groupbyinc/flux/common/http/nio/NHttpClientConnection; inputTerminated
? abortConnection discardConnection ? 9
? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTableT(Lcom/groupbyinc/flux/common/apache/commons/logging/Log;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;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/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/conn/ConnectionKeepAliveStrategy;Lcom/groupbyinc/flux/common/http/impl/nio/client/InternalClientExec;)V
StackMapTable
Exceptions
SourceFile
?
?
? ?
9*+? *,? *-? *? * ? *? !Y*? %,-? (? *? ? f
9 + - 9 . / 9 9
9 0 1 9
9 2 3 9 4 5 9 6 7 9 ? 9 + , 9 9 ? I J K L M % N 8 O ? ? 8 9 ? ? 3*? ? @ ? L*? BD+? J *? ? M ? L*? BO+? J ? ; " % ; ?
P Q &