public class io.netty.handler.codec.http.DefaultHttpRequest extends io.netty.handler.codec.http.DefaultHttpMessage implements io.netty.handler.codec.http.HttpRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.DefaultHttpRequest
super_class: io.netty.handler.codec.http.DefaultHttpMessage
{
private static final int HASH_CODE_PRIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 31
private io.netty.handler.codec.http.HttpMethod method;
descriptor: Lio/netty/handler/codec/http/HttpMethod;
flags: (0x0002) ACC_PRIVATE
private java.lang.String uri;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpMethod, java.lang.String);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokespecial io.netty.handler.codec.http.DefaultHttpRequest.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 2 1 httpVersion Lio/netty/handler/codec/http/HttpVersion;
0 2 2 method Lio/netty/handler/codec/http/HttpMethod;
0 2 3 uri Ljava/lang/String;
MethodParameters:
Name Flags
httpVersion
method
uri
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpMethod, java.lang.String, boolean);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 4
iconst_0
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.<init>:(Lio/netty/handler/codec/http/HttpVersion;ZZ)V
1: aload 0
aload 2
ldc "method"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpMethod
putfield io.netty.handler.codec.http.DefaultHttpRequest.method:Lio/netty/handler/codec/http/HttpMethod;
2: aload 0
aload 3
ldc "uri"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.handler.codec.http.DefaultHttpRequest.uri:Ljava/lang/String;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 4 1 httpVersion Lio/netty/handler/codec/http/HttpVersion;
0 4 2 method Lio/netty/handler/codec/http/HttpMethod;
0 4 3 uri Ljava/lang/String;
0 4 4 validateHeaders Z
MethodParameters:
Name Flags
httpVersion
method
uri
validateHeaders
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpMethod, java.lang.String, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 4
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpHeaders;)V
1: aload 0
aload 2
ldc "method"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpMethod
putfield io.netty.handler.codec.http.DefaultHttpRequest.method:Lio/netty/handler/codec/http/HttpMethod;
2: aload 0
aload 3
ldc "uri"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
putfield io.netty.handler.codec.http.DefaultHttpRequest.uri:Ljava/lang/String;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 4 1 httpVersion Lio/netty/handler/codec/http/HttpVersion;
0 4 2 method Lio/netty/handler/codec/http/HttpMethod;
0 4 3 uri Ljava/lang/String;
0 4 4 headers Lio/netty/handler/codec/http/HttpHeaders;
MethodParameters:
Name Flags
httpVersion
method
uri
headers
public io.netty.handler.codec.http.HttpMethod getMethod();
descriptor: ()Lio/netty/handler/codec/http/HttpMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.method:()Lio/netty/handler/codec/http/HttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public io.netty.handler.codec.http.HttpMethod method();
descriptor: ()Lio/netty/handler/codec/http/HttpMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.DefaultHttpRequest.method:Lio/netty/handler/codec/http/HttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
public java.lang.String getUri();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.uri:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String uri();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.DefaultHttpRequest.uri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
public io.netty.handler.codec.http.HttpRequest setMethod(io.netty.handler.codec.http.HttpMethod);
descriptor: (Lio/netty/handler/codec/http/HttpMethod;)Lio/netty/handler/codec/http/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "method"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.DefaultHttpRequest.method:Lio/netty/handler/codec/http/HttpMethod;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 4 1 method Lio/netty/handler/codec/http/HttpMethod;
MethodParameters:
Name Flags
method
public io.netty.handler.codec.http.HttpRequest setUri(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/netty/handler/codec/http/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "uri"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http.DefaultHttpRequest.uri:Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 4 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public io.netty.handler.codec.http.HttpRequest setProtocolVersion(io.netty.handler.codec.http.HttpVersion);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.setProtocolVersion:(Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpMessage;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 2 1 version Lio/netty/handler/codec/http/HttpVersion;
MethodParameters:
Name Flags
version
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield io.netty.handler.codec.http.DefaultHttpRequest.method:Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.hashCode:()I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield io.netty.handler.codec.http.DefaultHttpRequest.uri:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.hashCode:()I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
1 5 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.http.DefaultHttpRequest
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.handler.codec.http.DefaultHttpRequest
astore 2
start local 2 3: aload 0
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.method:()Lio/netty/handler/codec/http/HttpMethod;
aload 2
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.method:()Lio/netty/handler/codec/http/HttpMethod;
invokevirtual io.netty.handler.codec.http.HttpMethod.equals:(Ljava/lang/Object;)Z
ifeq 7
4: aload 0
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.uri:()Ljava/lang/String;
aload 2
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.uri:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
5: aload 0
aload 1
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: io.netty.handler.codec.http.DefaultHttpRequest
StackMap stack:
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
0 8 1 o Ljava/lang/Object;
3 8 2 other Lio/netty/handler/codec/http/DefaultHttpRequest;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 256
invokespecial java.lang.StringBuilder.<init>:(I)V
aload 0
invokestatic io.netty.handler.codec.http.HttpMessageUtil.appendRequest:(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpRequest;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpRequest;
public io.netty.handler.codec.http.HttpMessage setProtocolVersion(io.netty.handler.codec.http.HttpVersion);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpMessage;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http.DefaultHttpRequest.setProtocolVersion:(Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpRequest;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultHttpRequest.java"