com.huawei.shade.org.apache.http.impl.SocketHttpClientConnection.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/impl/SocketHttpClientConnection Bcom/huawei/shade/org/apache/http/impl/AbstractHttpClientConnection 3com/huawei/shade/org/apache/http/HttpInetConnection SocketHttpClientConnection.java Ljava/lang/Deprecated; open Z socket Ljava/net/Socket; ()V
this BLcom/huawei/shade/org/apache/http/impl/SocketHttpClientConnection;
assertNotOpen
Connection is already open -com/huawei/shade/org/apache/http/util/Asserts check (ZLjava/lang/String;)V
assertOpen Connection is not open ! createSessionInputBuffer ?(Ljava/net/Socket;ILcom/huawei/shade/org/apache/http/params/HttpParams;)Lcom/huawei/shade/org/apache/http/io/SessionInputBuffer; java/io/IOException % :com/huawei/shade/org/apache/http/impl/io/SocketInputBuffer ' I(Ljava/net/Socket;ILcom/huawei/shade/org/apache/http/params/HttpParams;)V
)
( *
bufferSize I params 4Lcom/huawei/shade/org/apache/http/params/HttpParams; createSessionOutputBuffer ?(Ljava/net/Socket;ILcom/huawei/shade/org/apache/http/params/HttpParams;)Lcom/huawei/shade/org/apache/http/io/SessionOutputBuffer; ;com/huawei/shade/org/apache/http/impl/io/SocketOutputBuffer 2
3 * bind H(Ljava/net/Socket;Lcom/huawei/shade/org/apache/http/params/HttpParams;)V Socket 7 *com/huawei/shade/org/apache/http/util/Args 9 notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ; <
: = HTTP parameters ? http.socket.buffer-size A 2com/huawei/shade/org/apache/http/params/HttpParams C getIntParameter (Ljava/lang/String;I)I E F D G # $
I 0 1
K init ?(Lcom/huawei/shade/org/apache/http/io/SessionInputBuffer;Lcom/huawei/shade/org/apache/http/io/SessionOutputBuffer;Lcom/huawei/shade/org/apache/http/params/HttpParams;)V M N
O isOpen ()Z getSocket ()Ljava/net/Socket; getLocalAddress ()Ljava/net/InetAddress; java/net/Socket W U V
X Y getLocalPort ()I [ \
X ] getRemoteAddress getInetAddress ` V
X a
getRemotePort getPort d \
X e setSocketTimeout (I)V java/net/SocketException i
k setSoTimeout m h
X n ignore Ljava/net/SocketException; timeout getSocketTimeout getSoTimeout t \
X u shutdown close x
X y tmpsocket 'java/lang/UnsupportedOperationException | doFlush ~
shutdownOutput ?
X ?
shutdownInput ?
X ? java/lang/Throwable ? Ljava/io/IOException; )Ljava/lang/UnsupportedOperationException; sock
formatAddress 4(Ljava/lang/StringBuilder;Ljava/net/SocketAddress;)V java/net/InetSocketAddress ?
getAddress ? V
? ? java/net/InetAddress ? getHostAddress ()Ljava/lang/String; ? ?
? ? java/lang/StringBuilder ? java/net/SocketAddress ? java/io/Serializable ? append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ?
? e (I)Ljava/lang/StringBuilder; ? ?
? ? addr Ljava/net/InetSocketAddress; buffer Ljava/lang/StringBuilder;
socketAddress Ljava/net/SocketAddress; toString
? getRemoteSocketAddress ()Ljava/net/SocketAddress; ? ?
X ? getLocalSocketAddress ? ?
X ? ? ?
? <-> ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ? ?
? ? java/lang/Object ?
? ?
remoteAddress localAddress Code LineNumberTable LocalVariableTable
StackMapTable
Exceptions
SourceFile
Deprecated RuntimeVisibleAnnotations ! B
B
? <