com.groupbyinc.flux.common.apache.http.impl.DefaultBHttpClientConnection.class Maven / Gradle / Ivy
???? 2 ? Hcom/groupbyinc/flux/common/apache/http/impl/DefaultBHttpClientConnection ?com/groupbyinc/flux/common/apache/http/impl/BHttpConnectionBase ;com/groupbyinc/flux/common/apache/http/HttpClientConnection !DefaultBHttpClientConnection.java responseParser =Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageParser; tLcom/groupbyinc/flux/common/apache/http/io/HttpMessageParser;
requestWriter =Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriter; sLcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriter; ?(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lcom/groupbyinc/flux/common/apache/http/config/MessageConstraints;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriterFactory;Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageParserFactory;)V(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lcom/groupbyinc/flux/common/apache/http/config/MessageConstraints;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;)V
java/nio/charset/CharsetDecoder java/nio/charset/CharsetEncoder @com/groupbyinc/flux/common/apache/http/config/MessageConstraints Ccom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy Bcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriterFactory Bcom/groupbyinc/flux/common/apache/http/io/HttpMessageParserFactory Ncom/groupbyinc/flux/common/apache/http/impl/io/DefaultHttpRequestWriterFactory INSTANCE PLcom/groupbyinc/flux/common/apache/http/impl/io/DefaultHttpRequestWriterFactory; ! " # getSessionOutputBuffer A()Lcom/groupbyinc/flux/common/apache/http/io/SessionOutputBuffer; % &
' create ~(Lcom/groupbyinc/flux/common/apache/http/io/SessionOutputBuffer;)Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriter; ) * + - Ocom/groupbyinc/flux/common/apache/http/impl/io/DefaultHttpResponseParserFactory / QLcom/groupbyinc/flux/common/apache/http/impl/io/DefaultHttpResponseParserFactory; ! 1 0 2 getSessionInputBuffer @()Lcom/groupbyinc/flux/common/apache/http/io/SessionInputBuffer; 4 5
6 ?(Lcom/groupbyinc/flux/common/apache/http/io/SessionInputBuffer;Lcom/groupbyinc/flux/common/apache/http/config/MessageConstraints;)Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageParser; ) 8 9 ; this JLcom/groupbyinc/flux/common/apache/http/impl/DefaultBHttpClientConnection;
buffersize I fragmentSizeHint chardecoder !Ljava/nio/charset/CharsetDecoder; charencoder !Ljava/nio/charset/CharsetEncoder; constraints BLcom/groupbyinc/flux/common/apache/http/config/MessageConstraints; incomingContentStrategy ELcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy; outgoingContentStrategy requestWriterFactory zLcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriterFactory; DLcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriterFactory; responseParserFactory {Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageParserFactory; DLcom/groupbyinc/flux/common/apache/http/io/HttpMessageParserFactory; ?(ILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lcom/groupbyinc/flux/common/apache/http/config/MessageConstraints;)V
R (I)V onResponseReceived 8(Lcom/groupbyinc/flux/common/apache/http/HttpResponse;)V response 5Lcom/groupbyinc/flux/common/apache/http/HttpResponse; onRequestSubmitted 7(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;)V request 4Lcom/groupbyinc/flux/common/apache/http/HttpRequest; bind (Ljava/net/Socket;)V java/io/IOException _ ] ^
a socket Ljava/net/Socket; isResponseAvailable (I)Z java/net/SocketTimeoutException g
ensureOpen ()V i j
k
awaitInput m f
n ex !Ljava/net/SocketTimeoutException; timeout sendRequestHeader 4com/groupbyinc/flux/common/apache/http/HttpException t HTTP request v 0com/groupbyinc/flux/common/apache/http/util/Args x notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; z {
y | ;com/groupbyinc/flux/common/apache/http/io/HttpMessageWriter ~ write 7(Lcom/groupbyinc/flux/common/apache/http/HttpMessage;)V ? ? ? Y Z
? incrementRequestCount ? j
? sendRequestEntity F(Lcom/groupbyinc/flux/common/apache/http/HttpEntityEnclosingRequest;)V Acom/groupbyinc/flux/common/apache/http/HttpEntityEnclosingRequest ? getEntity 5()Lcom/groupbyinc/flux/common/apache/http/HttpEntity; ? ? ? ? 1com/groupbyinc/flux/common/apache/http/HttpEntity ?
prepareOutput L(Lcom/groupbyinc/flux/common/apache/http/HttpMessage;)Ljava/io/OutputStream; ? ?
? writeTo (Ljava/io/OutputStream;)V ? ? ? ? java/io/OutputStream ? close ? j
? ? CLcom/groupbyinc/flux/common/apache/http/HttpEntityEnclosingRequest; entity 3Lcom/groupbyinc/flux/common/apache/http/HttpEntity; outstream Ljava/io/OutputStream; receiveResponseHeader 7()Lcom/groupbyinc/flux/common/apache/http/HttpResponse; ;com/groupbyinc/flux/common/apache/http/io/HttpMessageParser ? parse 6()Lcom/groupbyinc/flux/common/apache/http/HttpMessage; ? ? ? ? 3com/groupbyinc/flux/common/apache/http/HttpResponse ? U V
?
getStatusLine 5()Lcom/groupbyinc/flux/common/apache/http/StatusLine; ? ? ? ? 1com/groupbyinc/flux/common/apache/http/StatusLine ?
getStatusCode ()I ? ? ? ? incrementResponseCount ? j
? receiveResponseEntity
HTTP response ? prepareInput i(Lcom/groupbyinc/flux/common/apache/http/HttpMessage;)Lcom/groupbyinc/flux/common/apache/http/HttpEntity; ? ?
? setEntity 6(Lcom/groupbyinc/flux/common/apache/http/HttpEntity;)V ? ? ? ? flush doFlush ? j
? Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lcom/groupbyinc/flux/common/apache/http/config/MessageConstraints;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;Lcom/groupbyinc/flux/common/apache/http/entity/ContentLengthStrategy;Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageWriterFactory;Lcom/groupbyinc/flux/common/apache/http/io/HttpMessageParserFactory;)V
Exceptions
SourceFile ! ?
?
? p
F*-? *? ? ? $*? (? , ? .* ? ? ? 3*? 7? : ?