com.groupbyinc.flux.client.RestClient.class Maven / Gradle / Ivy
???? 3? %com/groupbyinc/flux/client/RestClient java/lang/Object java/io/Closeable RestClient.java /com/groupbyinc/flux/client/RestClient$HostTuple HostTuple 5com/groupbyinc/flux/client/RestClient$FailureListener FailureListener :com/groupbyinc/flux/client/RestClient$SyncResponseListener SyncResponseListener Ecom/groupbyinc/flux/client/RestClient$FailureTrackingResponseListener FailureTrackingResponseListener 'com/groupbyinc/flux/client/RestClient$2 'com/groupbyinc/flux/client/RestClient$1 java/util/Map$Entry
java/util/Map Entry logger 7Lcom/groupbyinc/flux/common/apache/commons/logging/Log; client QLcom/groupbyinc/flux/common/apache/http/impl/nio/client/CloseableHttpAsyncClient; defaultHeaders 0[Lcom/groupbyinc/flux/common/apache/http/Header; maxRetryTimeoutMillis J
pathPrefix Ljava/lang/String;
lastHostIndex +Ljava/util/concurrent/atomic/AtomicInteger; hostTuple 1Lcom/groupbyinc/flux/client/RestClient$HostTuple; uLcom/groupbyinc/flux/client/RestClient$HostTuple;>; blacklist $Ljava/util/concurrent/ConcurrentMap; ?Ljava/util/concurrent/ConcurrentMap; failureListener 7Lcom/groupbyinc/flux/client/RestClient$FailureListener; (Lcom/groupbyinc/flux/common/apache/http/impl/nio/client/CloseableHttpAsyncClient;J[Lcom/groupbyinc/flux/common/apache/http/Header;[Lcom/groupbyinc/flux/common/apache/http/HttpHost;Ljava/lang/String;Lcom/groupbyinc/flux/client/RestClient$FailureListener;)V ()V 1 3
4 )java/util/concurrent/atomic/AtomicInteger 6 (I)V 1 8
7 9 ' ( ; &java/util/concurrent/ConcurrentHashMap =
> 4 , - @ B # $ D ! " F / 0 H % & J setHosts 5([Lcom/groupbyinc/flux/common/apache/http/HttpHost;)V L M
N this 'Lcom/groupbyinc/flux/client/RestClient; hosts 2[Lcom/groupbyinc/flux/common/apache/http/HttpHost; builder b([Lcom/groupbyinc/flux/common/apache/http/HttpHost;)Lcom/groupbyinc/flux/client/RestClientBuilder; ,com/groupbyinc/flux/client/RestClientBuilder V 1 M
W X "java/lang/IllegalArgumentException Z hosts must not be null nor empty \ (Ljava/lang/String;)V 1 ^
[ _ java/util/HashSet a
b 4 Acom/groupbyinc/flux/common/apache/http/impl/client/BasicAuthCache d
e 4 S
java/util/Set h 7com/groupbyinc/flux/common/apache/http/client/AuthCache j host cannot be null l java/util/Objects n requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; p q
o r add (Ljava/lang/Object;)Z t u i v