public class org.apache.http.client.methods.HttpOptions extends org.apache.http.client.methods.HttpRequestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.client.methods.HttpOptions
super_class: org.apache.http.client.methods.HttpRequestBase
{
public static final java.lang.String METHOD_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "OPTIONS"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.http.client.methods.HttpRequestBase.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/client/methods/HttpOptions;
public void <init>(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.http.client.methods.HttpRequestBase.<init>:()V
1: aload 0
aload 1
invokevirtual org.apache.http.client.methods.HttpOptions.setURI:(Ljava/net/URI;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/client/methods/HttpOptions;
0 3 1 uri Ljava/net/URI;
MethodParameters:
Name Flags
uri final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.http.client.methods.HttpRequestBase.<init>:()V
1: aload 0
aload 1
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
invokevirtual org.apache.http.client.methods.HttpOptions.setURI:(Ljava/net/URI;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/client/methods/HttpOptions;
0 3 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri final
public java.lang.String getMethod();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "OPTIONS"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/client/methods/HttpOptions;
public java.util.Set<java.lang.String> getAllowedMethods(org.apache.http.HttpResponse);
descriptor: (Lorg/apache/http/HttpResponse;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, 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 1
ldc "Allow"
invokeinterface org.apache.http.HttpResponse.headerIterator:(Ljava/lang/String;)Lorg/apache/http/HeaderIterator;
astore 2
start local 2 2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 3: goto 11
4: StackMap locals: org.apache.http.HeaderIterator java.util.Set
StackMap stack:
aload 2
invokeinterface org.apache.http.HeaderIterator.nextHeader:()Lorg/apache/http/Header;
astore 4
start local 4 5: aload 4
invokeinterface org.apache.http.Header.getElements:()[Lorg/apache/http/HeaderElement;
astore 5
start local 5 6: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 10
StackMap locals: org.apache.http.client.methods.HttpOptions org.apache.http.HttpResponse org.apache.http.HeaderIterator java.util.Set org.apache.http.Header org.apache.http.HeaderElement[] top int int org.apache.http.HeaderElement[]
StackMap stack:
7: aload 9
iload 7
aaload
astore 6
start local 6 8: aload 3
aload 6
invokeinterface org.apache.http.HeaderElement.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 9: iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
iload 8
if_icmplt 7
end local 5 end local 4 11: StackMap locals: org.apache.http.client.methods.HttpOptions org.apache.http.HttpResponse org.apache.http.HeaderIterator java.util.Set
StackMap stack:
aload 2
invokeinterface org.apache.http.HeaderIterator.hasNext:()Z
ifne 4
12: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/http/client/methods/HttpOptions;
0 13 1 response Lorg/apache/http/HttpResponse;
2 13 2 it Lorg/apache/http/HeaderIterator;
3 13 3 methods Ljava/util/Set<Ljava/lang/String;>;
5 11 4 header Lorg/apache/http/Header;
6 11 5 elements [Lorg/apache/http/HeaderElement;
8 9 6 element Lorg/apache/http/HeaderElement;
Signature: (Lorg/apache/http/HttpResponse;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
response final
}
SourceFile: "HttpOptions.java"