public class io.netty.handler.codec.http.DefaultHttpResponse extends io.netty.handler.codec.http.DefaultHttpMessage implements io.netty.handler.codec.http.HttpResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.DefaultHttpResponse
super_class: io.netty.handler.codec.http.DefaultHttpMessage
{
private io.netty.handler.codec.http.HttpResponseStatus status;
descriptor: Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x0002) ACC_PRIVATE
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpResponseStatus);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
iconst_0
invokespecial io.netty.handler.codec.http.DefaultHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;ZZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/DefaultHttpResponse;
0 2 1 version Lio/netty/handler/codec/http/HttpVersion;
0 2 2 status Lio/netty/handler/codec/http/HttpResponseStatus;
MethodParameters:
Name Flags
version
status
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpResponseStatus, boolean);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Z)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
iload 3
iconst_0
invokespecial io.netty.handler.codec.http.DefaultHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;ZZ)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/DefaultHttpResponse;
0 2 1 version Lio/netty/handler/codec/http/HttpVersion;
0 2 2 status Lio/netty/handler/codec/http/HttpResponseStatus;
0 2 3 validateHeaders Z
MethodParameters:
Name Flags
version
status
validateHeaders
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpResponseStatus, boolean, boolean);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;ZZ)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 3
iload 4
invokespecial io.netty.handler.codec.http.DefaultHttpMessage.<init>:(Lio/netty/handler/codec/http/HttpVersion;ZZ)V
1: aload 0
aload 2
ldc "status"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpResponseStatus
putfield io.netty.handler.codec.http.DefaultHttpResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/DefaultHttpResponse;
0 3 1 version Lio/netty/handler/codec/http/HttpVersion;
0 3 2 status Lio/netty/handler/codec/http/HttpResponseStatus;
0 3 3 validateHeaders Z
0 3 4 singleFieldHeaders Z
MethodParameters:
Name Flags
version
status
validateHeaders
singleFieldHeaders
public void <init>(io.netty.handler.codec.http.HttpVersion, io.netty.handler.codec.http.HttpResponseStatus, io.netty.handler.codec.http.HttpHeaders);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/handler/codec/http/HttpHeaders;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
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 "status"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http.HttpResponseStatus
putfield io.netty.handler.codec.http.DefaultHttpResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http/DefaultHttpResponse;
0 3 1 version Lio/netty/handler/codec/http/HttpVersion;
0 3 2 status Lio/netty/handler/codec/http/HttpResponseStatus;
0 3 3 headers Lio/netty/handler/codec/http/HttpHeaders;
MethodParameters:
Name Flags
version
status
headers
public io.netty.handler.codec.http.HttpResponseStatus getStatus();
descriptor: ()Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http.DefaultHttpResponse.status:()Lio/netty/handler/codec/http/HttpResponseStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpResponse;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public io.netty.handler.codec.http.HttpResponseStatus status();
descriptor: ()Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http.DefaultHttpResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/DefaultHttpResponse;
public io.netty.handler.codec.http.HttpResponse setStatus(io.netty.handler.codec.http.HttpResponseStatus);
descriptor: (Lio/netty/handler/codec/http/HttpResponseStatus;)Lio/netty/handler/codec/http/HttpResponse;
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 "status"
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.DefaultHttpResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
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/DefaultHttpResponse;
0 4 1 status Lio/netty/handler/codec/http/HttpResponseStatus;
MethodParameters:
Name Flags
status
public io.netty.handler.codec.http.HttpResponse setProtocolVersion(io.netty.handler.codec.http.HttpVersion);
descriptor: (Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpResponse;
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/DefaultHttpResponse;
0 2 1 version Lio/netty/handler/codec/http/HttpVersion;
MethodParameters:
Name Flags
version
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.appendResponse:(Ljava/lang/StringBuilder;Lio/netty/handler/codec/http/HttpResponse;)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/DefaultHttpResponse;
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.DefaultHttpResponse.setProtocolVersion:(Lio/netty/handler/codec/http/HttpVersion;)Lio/netty/handler/codec/http/HttpResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultHttpResponse.java"