com.groupbyinc.flux.common.apache.http.impl.SocketHttpServerConnection.class Maven / Gradle / Ivy
???? 2 ? Fcom/groupbyinc/flux/common/apache/http/impl/SocketHttpServerConnection Hcom/groupbyinc/flux/common/apache/http/impl/AbstractHttpServerConnection 9com/groupbyinc/flux/common/apache/http/HttpInetConnection SocketHttpServerConnection.java Ljava/lang/Deprecated; open Z socket Ljava/net/Socket; ()V
this HLcom/groupbyinc/flux/common/apache/http/impl/SocketHttpServerConnection;
assertNotOpen
Connection is already open 3com/groupbyinc/flux/common/apache/http/util/Asserts check (ZLjava/lang/String;)V
assertOpen Connection is not open ! createSessionInputBuffer ?(Ljava/net/Socket;ILcom/groupbyinc/flux/common/apache/http/params/HttpParams;)Lcom/groupbyinc/flux/common/apache/http/io/SessionInputBuffer; java/io/IOException % @com/groupbyinc/flux/common/apache/http/impl/io/SocketInputBuffer ' O(Ljava/net/Socket;ILcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V
)
( *
buffersize I params :Lcom/groupbyinc/flux/common/apache/http/params/HttpParams; createSessionOutputBuffer ?(Ljava/net/Socket;ILcom/groupbyinc/flux/common/apache/http/params/HttpParams;)Lcom/groupbyinc/flux/common/apache/http/io/SessionOutputBuffer; Acom/groupbyinc/flux/common/apache/http/impl/io/SocketOutputBuffer 2
3 * bind N(Ljava/net/Socket;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V Socket 7 0com/groupbyinc/flux/common/apache/http/util/Args 9 notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ; <
: = HTTP parameters ? http.socket.buffer-size A 8com/groupbyinc/flux/common/apache/http/params/HttpParams C getIntParameter (Ljava/lang/String;I)I E F D G # $
I 0 1
K init ?(Lcom/groupbyinc/flux/common/apache/http/io/SessionInputBuffer;Lcom/groupbyinc/flux/common/apache/http/io/SessionOutputBuffer;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V M N
O getSocket ()Ljava/net/Socket; isOpen ()Z 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 LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile
Deprecated RuntimeVisibleAnnotations ! B
B
? <