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