public class org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy implements org.apache.http.entity.ContentLengthStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
super_class: java.lang.Object
{
public static final org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy INSTANCE;
descriptor: Lorg/apache/http/impl/entity/DisallowIdentityContentLengthStrategy;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.apache.http.entity.ContentLengthStrategy contentLengthStrategy;
descriptor: Lorg/apache/http/entity/ContentLengthStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
dup
new org.apache.http.impl.entity.LaxContentLengthStrategy
dup
iconst_0
invokespecial org.apache.http.impl.entity.LaxContentLengthStrategy.<init>:(I)V
invokespecial org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy.<init>:(Lorg/apache/http/entity/ContentLengthStrategy;)V
1: putstatic org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy.INSTANCE:Lorg/apache/http/impl/entity/DisallowIdentityContentLengthStrategy;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.http.entity.ContentLengthStrategy);
descriptor: (Lorg/apache/http/entity/ContentLengthStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy.contentLengthStrategy:Lorg/apache/http/entity/ContentLengthStrategy;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/impl/entity/DisallowIdentityContentLengthStrategy;
0 3 1 contentLengthStrategy Lorg/apache/http/entity/ContentLengthStrategy;
MethodParameters:
Name Flags
contentLengthStrategy final
public long determineLength(org.apache.http.HttpMessage);
descriptor: (Lorg/apache/http/HttpMessage;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy.contentLengthStrategy:Lorg/apache/http/entity/ContentLengthStrategy;
aload 1
invokeinterface org.apache.http.entity.ContentLengthStrategy.determineLength:(Lorg/apache/http/HttpMessage;)J
lstore 2
start local 2 1: lload 2
ldc -1
lcmp
ifne 3
2: new org.apache.http.ProtocolException
dup
ldc "Identity transfer encoding cannot be used"
invokespecial org.apache.http.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/http/impl/entity/DisallowIdentityContentLengthStrategy;
0 4 1 message Lorg/apache/http/HttpMessage;
1 4 2 result J
Exceptions:
throws org.apache.http.HttpException
MethodParameters:
Name Flags
message final
}
SourceFile: "DisallowIdentityContentLengthStrategy.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE_CONDITIONAL:Lorg/apache/http/annotation/ThreadingBehavior;)