
com.groupbyinc.flux.common.http.impl.nio.client.CloseableHttpAsyncClient.class Maven / Gradle / Ivy
???? 2 ? Hcom/groupbyinc/flux/common/http/impl/nio/client/CloseableHttpAsyncClient java/lang/Object :com/groupbyinc/flux/common/http/nio/client/HttpAsyncClient java/io/Closeable CloseableHttpAsyncClient.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; SAFE ()V
this JLcom/groupbyinc/flux/common/http/impl/nio/client/CloseableHttpAsyncClient; isRunning ()Z start execute ?(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; Acom/groupbyinc/flux/common/http/client/protocol/HttpClientContext create E()Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;
(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;
requestProducer GLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer; responseConsumer MLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer; HLcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer; callback @Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback; ;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback; ?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; Ccom/groupbyinc/flux/common/http/nio/client/methods/HttpAsyncMethods + ?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;)Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer; -
, . createConsumer J()Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer; 0 1
, 2 target *Lcom/groupbyinc/flux/common/http/HttpHost; request -Lcom/groupbyinc/flux/common/http/HttpRequest; context 6Lcom/groupbyinc/flux/common/http/protocol/HttpContext; kLcom/groupbyinc/flux/common/http/concurrent/FutureCallback; ?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; *
< ?(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; ?(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; ?
@ ?Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest; >com/groupbyinc/flux/common/http/client/ClientProtocolException C determineTarget k(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;)Lcom/groupbyinc/flux/common/http/HttpHost; E F
G 6com/groupbyinc/flux/common/http/concurrent/BasicFuture I >(Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)V K
J L failed (Ljava/lang/Exception;)Z N O
J P (com/groupbyinc/flux/common/http/HttpHost R future hLcom/groupbyinc/flux/common/http/concurrent/BasicFuture; 8Lcom/groupbyinc/flux/common/http/concurrent/BasicFuture; ex @Lcom/groupbyinc/flux/common/http/client/ClientProtocolException; HTTP request Y )com/groupbyinc/flux/common/http/util/Args [ notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ] ^
\ _ =com/groupbyinc/flux/common/http/client/methods/HttpUriRequest a getURI ()Ljava/net/URI; c d b e java/net/URI g
isAbsolute i
h j 5com/groupbyinc/flux/common/http/client/utils/URIUtils l extractHost :(Ljava/net/URI;)Lcom/groupbyinc/flux/common/http/HttpHost; n o
m p java/lang/StringBuilder r
s (URI does not specify a valid host name: u append -(Ljava/lang/String;)Ljava/lang/StringBuilder; w x
s y -(Ljava/lang/Object;)Ljava/lang/StringBuilder; w {
s | toString ()Ljava/lang/String; ~
s ? (Ljava/lang/String;)V ?
D ?
requestURI Ljava/net/URI; Code LocalVariableTable LineNumberTable LocalVariableTypeTable Signature(Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncRequestProducer;Lcom/groupbyinc/flux/common/http/nio/protocol/HttpAsyncResponseConsumer;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;G(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future; ?(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;
StackMapTable/(Lcom/groupbyinc/flux/common/http/client/methods/HttpUriRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;
Exceptions
SourceFile RuntimeInvisibleAnnotations! ? / *? ? ? ? 9 ? o *+,? -? !? ? * " # $ &