![JAR search and dependency download from the Maven repository](/logo.png)
com.huawei.shade.org.apache.http.protocol.RequestTargetHost.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
The newest version!
???? 2 ? ;com/huawei/shade/org/apache/http/protocol/RequestTargetHost java/lang/Object 7com/huawei/shade/org/apache/http/HttpRequestInterceptor RequestTargetHost.java 6Lcom/huawei/shade/org/apache/http/annotation/Contract; threading ?Lcom/huawei/shade/org/apache/http/annotation/ThreadingBehavior; IMMUTABLE ()V
this =Lcom/huawei/shade/org/apache/http/protocol/RequestTargetHost; process h(Lcom/huawei/shade/org/apache/http/HttpRequest;Lcom/huawei/shade/org/apache/http/protocol/HttpContext;)V .com/huawei/shade/org/apache/http/HttpException java/io/IOException HTTP request *com/huawei/shade/org/apache/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
9com/huawei/shade/org/apache/http/protocol/HttpCoreContext adapt t(Lcom/huawei/shade/org/apache/http/protocol/HttpContext;)Lcom/huawei/shade/org/apache/http/protocol/HttpCoreContext; " #
! $ ,com/huawei/shade/org/apache/http/HttpRequest & getRequestLine 0()Lcom/huawei/shade/org/apache/http/RequestLine; ( ) ' * ,com/huawei/shade/org/apache/http/RequestLine , getProtocolVersion 4()Lcom/huawei/shade/org/apache/http/ProtocolVersion; . / - 0 getMethod ()Ljava/lang/String; 2 3 - 4 CONNECT 6 java/lang/String 8 equalsIgnoreCase (Ljava/lang/String;)Z : ;
9 < ,com/huawei/shade/org/apache/http/HttpVersion > HTTP_1_0 .Lcom/huawei/shade/org/apache/http/HttpVersion; @ A ? B 0com/huawei/shade/org/apache/http/ProtocolVersion D
lessEquals 5(Lcom/huawei/shade/org/apache/http/ProtocolVersion;)Z F G
E H Host J containsHeader L ; ' M
getTargetHost -()Lcom/huawei/shade/org/apache/http/HttpHost; O P
! Q
getConnection 3()Lcom/huawei/shade/org/apache/http/HttpConnection; S T
! U 3com/huawei/shade/org/apache/http/HttpInetConnection W getRemoteAddress ()Ljava/net/InetAddress; Y Z X [
getRemotePort ()I ] ^ X _ )com/huawei/shade/org/apache/http/HttpHost a java/net/InetAddress c getHostName e 3
d f (Ljava/lang/String;I)V h
b i /com/huawei/shade/org/apache/http/HttpConnection k 2com/huawei/shade/org/apache/http/ProtocolException m Target host missing o (Ljava/lang/String;)V q
n r toHostString t 3
b u addHeader '(Ljava/lang/String;Ljava/lang/String;)V w x ' y address Ljava/net/InetAddress; port I conn 1Lcom/huawei/shade/org/apache/http/HttpConnection;
targetHost +Lcom/huawei/shade/org/apache/http/HttpHost; request .Lcom/huawei/shade/org/apache/http/HttpRequest; context 7Lcom/huawei/shade/org/apache/http/protocol/HttpContext; coreContext ;Lcom/huawei/shade/org/apache/http/protocol/HttpCoreContext; ver 2Lcom/huawei/shade/org/apache/http/ProtocolVersion; method Ljava/lang/String; Code LineNumberTable LocalVariableTable
StackMapTable
Exceptions
SourceFile RuntimeInvisibleAnnotations !
? 3 *? ? ?
8 9 ? ? ?
?+? W,? %N+? + ? 1 :+? + ? 5 :7? =? ? C? I? ?+K? N ? q-? R:? Y-? V:? X? 0? X? \ :? X? ` 6 ? ? bY? g ? j:? ? C? I? ?? nYp? s?+K? v? z ? ? ? < ! E 9? P b l? ? ? V > @ B C &