com.groupbyinc.flux.common.http.impl.conn.SystemDefaultRoutePlanner.class Maven / Gradle / Ivy
???? 2 ? Ccom/groupbyinc/flux/common/http/impl/conn/SystemDefaultRoutePlanner =com/groupbyinc/flux/common/http/impl/conn/DefaultRoutePlanner SystemDefaultRoutePlanner.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; IMMUTABLE_CONDITIONAL Ecom/groupbyinc/flux/common/http/impl/conn/SystemDefaultRoutePlanner$1
java/net/Proxy$Type java/net/Proxy Type
proxySelector Ljava/net/ProxySelector; T(Lcom/groupbyinc/flux/common/http/conn/SchemePortResolver;Ljava/net/ProxySelector;)V <(Lcom/groupbyinc/flux/common/http/conn/SchemePortResolver;)V
this ELcom/groupbyinc/flux/common/http/impl/conn/SystemDefaultRoutePlanner; schemePortResolver 9Lcom/groupbyinc/flux/common/http/conn/SchemePortResolver; (Ljava/net/ProxySelector;)V
determineProxy ?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/HttpHost; -com/groupbyinc/flux/common/http/HttpException # java/net/URISyntaxException % java/net/URI ' (com/groupbyinc/flux/common/http/HttpHost ) toURI ()Ljava/lang/String; + ,
* - (Ljava/lang/String;)V /
( 0 java/lang/StringBuilder 2 ()V 4
3 5 Cannot convert host to URI: 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
3 ; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 9 =
3 > toString @ ,
3 A *(Ljava/lang/String;Ljava/lang/Throwable;)V C
$ D java/net/ProxySelector F
getDefault ()Ljava/net/ProxySelector; H I
G J select (Ljava/net/URI;)Ljava/util/List; L M
G N chooseProxy "(Ljava/util/List;)Ljava/net/Proxy; P Q
R type ()Ljava/net/Proxy$Type; T U
V HTTP Ljava/net/Proxy$Type; X Y
Z address ()Ljava/net/SocketAddress; \ ]
^ java/net/InetSocketAddress ` )Unable to handle non-Inet proxy address: b
$ 0 java/util/List e getHost 0(Ljava/net/InetSocketAddress;)Ljava/lang/String; g h
i getPort ()I k l
a m (Ljava/lang/String;I)V o
* p ex Ljava/net/URISyntaxException; isa Ljava/net/InetSocketAddress; target *Lcom/groupbyinc/flux/common/http/HttpHost; request -Lcom/groupbyinc/flux/common/http/HttpRequest; context 6Lcom/groupbyinc/flux/common/http/protocol/HttpContext; targetURI Ljava/net/URI; proxySelectorInstance proxies "Ljava/util/List; Ljava/util/List; p Ljava/net/Proxy; result isUnresolved ()Z ? ?
a ? getHostName ? ,
a ?
getAddress ()Ljava/net/InetAddress; ? ?
a ? java/net/InetAddress ? getHostAddress ? ,
? ? java/lang/String ? size ? l f ? get (I)Ljava/lang/Object; ? ? f ? $SwitchMap$java$net$Proxy$Type [I ? ? ? ordinal ? l
? NO_PROXY ? ? ? i I Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature 4(Ljava/util/List;)Ljava/net/Proxy;
SourceFile InnerClasses RuntimeInvisibleAnnotations ! ? Q *+? *,? ? ? ? @ A
B ? ? *+? ? ? ?
H I ! " ? ?
?? (Y+? .? 1:? ":? $Y? 3Y? 68? <+? ?? B? E?*? :? ? K:? ?? O:*? S::? W? [? K? _? a? "? $Y? 3Y? 6c? <? _? ?? B? d?? _? a: ? *Y* ? j ? n? q:?
&