public class org.apache.http.impl.DefaultBHttpClientConnection extends org.apache.http.impl.BHttpConnectionBase implements org.apache.http.HttpClientConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.impl.DefaultBHttpClientConnection
super_class: org.apache.http.impl.BHttpConnectionBase
{
private final org.apache.http.io.HttpMessageParser<org.apache.http.HttpResponse> responseParser;
descriptor: Lorg/apache/http/io/HttpMessageParser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/http/io/HttpMessageParser<Lorg/apache/http/HttpResponse;>;
private final org.apache.http.io.HttpMessageWriter<org.apache.http.HttpRequest> requestWriter;
descriptor: Lorg/apache/http/io/HttpMessageWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/http/io/HttpMessageWriter<Lorg/apache/http/HttpRequest;>;
public void <init>(int, int, java.nio.charset.CharsetDecoder, java.nio.charset.CharsetEncoder, org.apache.http.config.MessageConstraints, org.apache.http.entity.ContentLengthStrategy, org.apache.http.entity.ContentLengthStrategy, org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest>, org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse>);
descriptor: (IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/io/HttpMessageWriterFactory;Lorg/apache/http/io/HttpMessageParserFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
iload 1
iload 2
aload 3
aload 4
1: aload 5
aload 6
aload 7
invokespecial org.apache.http.impl.BHttpConnectionBase.<init>:(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/entity/ContentLengthStrategy;)V
2: aload 0
aload 8
ifnull 3
aload 8
goto 4
3: StackMap locals: org.apache.http.impl.DefaultBHttpClientConnection int int java.nio.charset.CharsetDecoder java.nio.charset.CharsetEncoder org.apache.http.config.MessageConstraints org.apache.http.entity.ContentLengthStrategy org.apache.http.entity.ContentLengthStrategy org.apache.http.io.HttpMessageWriterFactory org.apache.http.io.HttpMessageParserFactory
StackMap stack: org.apache.http.impl.DefaultBHttpClientConnection
getstatic org.apache.http.impl.io.DefaultHttpRequestWriterFactory.INSTANCE:Lorg/apache/http/impl/io/DefaultHttpRequestWriterFactory;
StackMap locals: org.apache.http.impl.DefaultBHttpClientConnection int int java.nio.charset.CharsetDecoder java.nio.charset.CharsetEncoder org.apache.http.config.MessageConstraints org.apache.http.entity.ContentLengthStrategy org.apache.http.entity.ContentLengthStrategy org.apache.http.io.HttpMessageWriterFactory org.apache.http.io.HttpMessageParserFactory
StackMap stack: org.apache.http.impl.DefaultBHttpClientConnection org.apache.http.io.HttpMessageWriterFactory
4: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.getSessionOutputBuffer:()Lorg/apache/http/io/SessionOutputBuffer;
invokeinterface org.apache.http.io.HttpMessageWriterFactory.create:(Lorg/apache/http/io/SessionOutputBuffer;)Lorg/apache/http/io/HttpMessageWriter;
5: putfield org.apache.http.impl.DefaultBHttpClientConnection.requestWriter:Lorg/apache/http/io/HttpMessageWriter;
6: aload 0
aload 9
ifnull 7
aload 9
goto 8
7: StackMap locals:
StackMap stack: org.apache.http.impl.DefaultBHttpClientConnection
getstatic org.apache.http.impl.io.DefaultHttpResponseParserFactory.INSTANCE:Lorg/apache/http/impl/io/DefaultHttpResponseParserFactory;
StackMap locals: org.apache.http.impl.DefaultBHttpClientConnection int int java.nio.charset.CharsetDecoder java.nio.charset.CharsetEncoder org.apache.http.config.MessageConstraints org.apache.http.entity.ContentLengthStrategy org.apache.http.entity.ContentLengthStrategy org.apache.http.io.HttpMessageWriterFactory org.apache.http.io.HttpMessageParserFactory
StackMap stack: org.apache.http.impl.DefaultBHttpClientConnection org.apache.http.io.HttpMessageParserFactory
8: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.getSessionInputBuffer:()Lorg/apache/http/io/SessionInputBuffer;
aload 5
invokeinterface org.apache.http.io.HttpMessageParserFactory.create:(Lorg/apache/http/io/SessionInputBuffer;Lorg/apache/http/config/MessageConstraints;)Lorg/apache/http/io/HttpMessageParser;
9: putfield org.apache.http.impl.DefaultBHttpClientConnection.responseParser:Lorg/apache/http/io/HttpMessageParser;
10: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 11 1 bufferSize I
0 11 2 fragmentSizeHint I
0 11 3 charDecoder Ljava/nio/charset/CharsetDecoder;
0 11 4 charEncoder Ljava/nio/charset/CharsetEncoder;
0 11 5 constraints Lorg/apache/http/config/MessageConstraints;
0 11 6 incomingContentStrategy Lorg/apache/http/entity/ContentLengthStrategy;
0 11 7 outgoingContentStrategy Lorg/apache/http/entity/ContentLengthStrategy;
0 11 8 requestWriterFactory Lorg/apache/http/io/HttpMessageWriterFactory<Lorg/apache/http/HttpRequest;>;
0 11 9 responseParserFactory Lorg/apache/http/io/HttpMessageParserFactory<Lorg/apache/http/HttpResponse;>;
Signature: (IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/io/HttpMessageWriterFactory<Lorg/apache/http/HttpRequest;>;Lorg/apache/http/io/HttpMessageParserFactory<Lorg/apache/http/HttpResponse;>;)V
MethodParameters:
Name Flags
bufferSize final
fragmentSizeHint final
charDecoder final
charEncoder final
constraints final
incomingContentStrategy final
outgoingContentStrategy final
requestWriterFactory final
responseParserFactory final
public void <init>(int, java.nio.charset.CharsetDecoder, java.nio.charset.CharsetEncoder, org.apache.http.config.MessageConstraints);
descriptor: (ILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 1
aload 2
aload 3
aload 4
aconst_null
aconst_null
aconst_null
aconst_null
invokespecial org.apache.http.impl.DefaultBHttpClientConnection.<init>:(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/io/HttpMessageWriterFactory;Lorg/apache/http/io/HttpMessageParserFactory;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 2 1 bufferSize I
0 2 2 charDecoder Ljava/nio/charset/CharsetDecoder;
0 2 3 charEncoder Ljava/nio/charset/CharsetEncoder;
0 2 4 constraints Lorg/apache/http/config/MessageConstraints;
MethodParameters:
Name Flags
bufferSize final
charDecoder final
charEncoder final
constraints final
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iload 1
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
invokespecial org.apache.http.impl.DefaultBHttpClientConnection.<init>:(IILjava/nio/charset/CharsetDecoder;Ljava/nio/charset/CharsetEncoder;Lorg/apache/http/config/MessageConstraints;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/entity/ContentLengthStrategy;Lorg/apache/http/io/HttpMessageWriterFactory;Lorg/apache/http/io/HttpMessageParserFactory;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 2 1 bufferSize I
MethodParameters:
Name Flags
bufferSize final
protected void onResponseReceived(org.apache.http.HttpResponse);
descriptor: (Lorg/apache/http/HttpResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 1 1 response Lorg/apache/http/HttpResponse;
MethodParameters:
Name Flags
response final
protected void onRequestSubmitted(org.apache.http.HttpRequest);
descriptor: (Lorg/apache/http/HttpRequest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 1 1 request Lorg/apache/http/HttpRequest;
MethodParameters:
Name Flags
request final
public void bind(java.net.Socket);
descriptor: (Ljava/net/Socket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.http.impl.BHttpConnectionBase.bind:(Ljava/net/Socket;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 2 1 socket Ljava/net/Socket;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
socket final
public boolean isResponseAvailable(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
1: aload 0
iload 1
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.awaitInput:(I)Z
2: ireturn
3: StackMap locals:
StackMap stack: java.net.SocketTimeoutException
pop
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 5 1 timeout I
Exception table:
from to target type
1 2 3 Class java.net.SocketTimeoutException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timeout final
public void (org.apache.http.HttpRequest);
descriptor: (Lorg/apache/http/HttpRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "HTTP request"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
2: aload 0
getfield org.apache.http.impl.DefaultBHttpClientConnection.requestWriter:Lorg/apache/http/io/HttpMessageWriter;
aload 1
invokeinterface org.apache.http.io.HttpMessageWriter.write:(Lorg/apache/http/HttpMessage;)V
3: aload 0
aload 1
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.onRequestSubmitted:(Lorg/apache/http/HttpRequest;)V
4: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.incrementRequestCount:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 6 1 request Lorg/apache/http/HttpRequest;
Exceptions:
throws org.apache.http.HttpException, java.io.IOException
MethodParameters:
Name Flags
request final
public void sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest);
descriptor: (Lorg/apache/http/HttpEntityEnclosingRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "HTTP request"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
2: aload 1
invokeinterface org.apache.http.HttpEntityEnclosingRequest.getEntity:()Lorg/apache/http/HttpEntity;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: return
5: StackMap locals: org.apache.http.HttpEntity
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.prepareOutput:(Lorg/apache/http/HttpMessage;)Ljava/io/OutputStream;
astore 3
start local 3 6: aload 2
aload 3
invokeinterface org.apache.http.HttpEntity.writeTo:(Ljava/io/OutputStream;)V
7: aload 3
invokevirtual java.io.OutputStream.close:()V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 9 1 request Lorg/apache/http/HttpEntityEnclosingRequest;
3 9 2 entity Lorg/apache/http/HttpEntity;
6 9 3 outStream Ljava/io/OutputStream;
Exceptions:
throws org.apache.http.HttpException, java.io.IOException
MethodParameters:
Name Flags
request final
public org.apache.http.HttpResponse ();
descriptor: ()Lorg/apache/http/HttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
1: aload 0
getfield org.apache.http.impl.DefaultBHttpClientConnection.responseParser:Lorg/apache/http/io/HttpMessageParser;
invokeinterface org.apache.http.io.HttpMessageParser.parse:()Lorg/apache/http/HttpMessage;
checkcast org.apache.http.HttpResponse
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.onResponseReceived:(Lorg/apache/http/HttpResponse;)V
3: aload 1
invokeinterface org.apache.http.HttpResponse.getStatusLine:()Lorg/apache/http/StatusLine;
invokeinterface org.apache.http.StatusLine.getStatusCode:()I
sipush 200
if_icmplt 5
4: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.incrementResponseCount:()V
5: StackMap locals: org.apache.http.HttpResponse
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
2 6 1 response Lorg/apache/http/HttpResponse;
Exceptions:
throws org.apache.http.HttpException, java.io.IOException
public void receiveResponseEntity(org.apache.http.HttpResponse);
descriptor: (Lorg/apache/http/HttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "HTTP response"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
2: aload 0
aload 1
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.prepareInput:(Lorg/apache/http/HttpMessage;)Lorg/apache/http/HttpEntity;
astore 2
start local 2 3: aload 1
aload 2
invokeinterface org.apache.http.HttpResponse.setEntity:(Lorg/apache/http/HttpEntity;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
0 5 1 response Lorg/apache/http/HttpResponse;
3 5 2 entity Lorg/apache/http/HttpEntity;
Exceptions:
throws org.apache.http.HttpException, java.io.IOException
MethodParameters:
Name Flags
response final
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.ensureOpen:()V
1: aload 0
invokevirtual org.apache.http.impl.DefaultBHttpClientConnection.doFlush:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/impl/DefaultBHttpClientConnection;
Exceptions:
throws java.io.IOException
}
SourceFile: "DefaultBHttpClientConnection.java"