public final class org.apache.http.HttpVersion extends org.apache.http.ProtocolVersion
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.http.HttpVersion
super_class: org.apache.http.ProtocolVersion
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5856653513894415344
public static final java.lang.String HTTP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "HTTP"
public static final org.apache.http.HttpVersion HTTP_0_9;
descriptor: Lorg/apache/http/HttpVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.http.HttpVersion HTTP_1_0;
descriptor: Lorg/apache/http/HttpVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.http.HttpVersion HTTP_1_1;
descriptor: Lorg/apache/http/HttpVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.apache.http.HttpVersion
dup
iconst_0
bipush 9
invokespecial org.apache.http.HttpVersion.<init>:(II)V
putstatic org.apache.http.HttpVersion.HTTP_0_9:Lorg/apache/http/HttpVersion;
1: new org.apache.http.HttpVersion
dup
iconst_1
iconst_0
invokespecial org.apache.http.HttpVersion.<init>:(II)V
putstatic org.apache.http.HttpVersion.HTTP_1_0:Lorg/apache/http/HttpVersion;
2: new org.apache.http.HttpVersion
dup
iconst_1
iconst_1
invokespecial org.apache.http.HttpVersion.<init>:(II)V
putstatic org.apache.http.HttpVersion.HTTP_1_1:Lorg/apache/http/HttpVersion;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "HTTP"
iload 1
iload 2
invokespecial org.apache.http.ProtocolVersion.<init>:(Ljava/lang/String;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/HttpVersion;
0 2 1 major I
0 2 2 minor I
MethodParameters:
Name Flags
major final
minor final
public org.apache.http.ProtocolVersion forVersion(int, int);
descriptor: (II)Lorg/apache/http/ProtocolVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield org.apache.http.HttpVersion.major:I
if_icmpne 2
iload 2
aload 0
getfield org.apache.http.HttpVersion.minor:I
if_icmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpne 7
3: iload 2
ifne 5
4: getstatic org.apache.http.HttpVersion.HTTP_1_0:Lorg/apache/http/HttpVersion;
areturn
5: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpne 7
6: getstatic org.apache.http.HttpVersion.HTTP_1_1:Lorg/apache/http/HttpVersion;
areturn
7: StackMap locals:
StackMap stack:
iload 1
ifne 9
iload 2
bipush 9
if_icmpne 9
8: getstatic org.apache.http.HttpVersion.HTTP_0_9:Lorg/apache/http/HttpVersion;
areturn
9: StackMap locals:
StackMap stack:
new org.apache.http.HttpVersion
dup
iload 1
iload 2
invokespecial org.apache.http.HttpVersion.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/http/HttpVersion;
0 10 1 major I
0 10 2 minor I
MethodParameters:
Name Flags
major final
minor final
}
SourceFile: "HttpVersion.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE:Lorg/apache/http/annotation/ThreadingBehavior;)