public class io.netty.handler.codec.http.HttpServerExpectContinueHandler extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpServerExpectContinueHandler
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
private static final io.netty.handler.codec.http.FullHttpResponse EXPECTATION_FAILED;
descriptor: Lio/netty/handler/codec/http/FullHttpResponse;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.netty.handler.codec.http.FullHttpResponse ACCEPT;
descriptor: Lio/netty/handler/codec/http/FullHttpResponse;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
1: getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpResponseStatus.EXPECTATION_FAILED:Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
2: invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;)V
putstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.EXPECTATION_FAILED:Lio/netty/handler/codec/http/FullHttpResponse;
3: new io.netty.handler.codec.http.DefaultFullHttpResponse
dup
4: getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpResponseStatus.CONTINUE:Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
5: invokespecial io.netty.handler.codec.http.DefaultFullHttpResponse.<init>:(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;)V
putstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.ACCEPT:Lio/netty/handler/codec/http/FullHttpResponse;
6: getstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.EXPECTATION_FAILED:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_LENGTH:Lio/netty/util/AsciiString;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
7: getstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.ACCEPT:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.CONTENT_LENGTH:Lio/netty/util/AsciiString;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.netty.handler.codec.http.HttpHeaders.set:(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
pop
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/HttpServerExpectContinueHandler;
protected io.netty.handler.codec.http.HttpResponse acceptMessage(io.netty.handler.codec.http.HttpRequest);
descriptor: (Lio/netty/handler/codec/http/HttpRequest;)Lio/netty/handler/codec/http/HttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.ACCEPT:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.retainedDuplicate:()Lio/netty/handler/codec/http/FullHttpResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/HttpServerExpectContinueHandler;
0 1 1 request Lio/netty/handler/codec/http/HttpRequest;
MethodParameters:
Name Flags
request
protected io.netty.handler.codec.http.HttpResponse rejectResponse(io.netty.handler.codec.http.HttpRequest);
descriptor: (Lio/netty/handler/codec/http/HttpRequest;)Lio/netty/handler/codec/http/HttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.netty.handler.codec.http.HttpServerExpectContinueHandler.EXPECTATION_FAILED:Lio/netty/handler/codec/http/FullHttpResponse;
invokeinterface io.netty.handler.codec.http.FullHttpResponse.retainedDuplicate:()Lio/netty/handler/codec/http/FullHttpResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http/HttpServerExpectContinueHandler;
0 1 1 request Lio/netty/handler/codec/http/HttpRequest;
MethodParameters:
Name Flags
request
public void channelRead(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.codec.http.HttpRequest
ifeq 11
1: aload 2
checkcast io.netty.handler.codec.http.HttpRequest
astore 3
start local 3 2: aload 3
invokestatic io.netty.handler.codec.http.HttpUtil.is100ContinueExpected:(Lio/netty/handler/codec/http/HttpMessage;)Z
ifeq 11
3: aload 0
aload 3
invokevirtual io.netty.handler.codec.http.HttpServerExpectContinueHandler.acceptMessage:(Lio/netty/handler/codec/http/HttpRequest;)Lio/netty/handler/codec/http/HttpResponse;
astore 4
start local 4 4: aload 4
ifnonnull 9
5: aload 0
aload 3
invokevirtual io.netty.handler.codec.http.HttpServerExpectContinueHandler.rejectResponse:(Lio/netty/handler/codec/http/HttpRequest;)Lio/netty/handler/codec/http/HttpResponse;
astore 5
start local 5 6: aload 2
invokestatic io.netty.util.ReferenceCountUtil.release:(Ljava/lang/Object;)Z
pop
7: aload 1
aload 5
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
getstatic io.netty.channel.ChannelFutureListener.CLOSE_ON_FAILURE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
8: return
end local 5 9: StackMap locals: io.netty.handler.codec.http.HttpRequest io.netty.handler.codec.http.HttpResponse
StackMap stack:
aload 1
aload 4
invokeinterface io.netty.channel.ChannelHandlerContext.writeAndFlush:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
getstatic io.netty.channel.ChannelFutureListener.CLOSE_ON_FAILURE:Lio/netty/channel/ChannelFutureListener;
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
10: aload 3
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.netty.handler.codec.http.HttpHeaderNames.EXPECT:Lio/netty/util/AsciiString;
invokevirtual io.netty.handler.codec.http.HttpHeaders.remove:(Ljava/lang/CharSequence;)Lio/netty/handler/codec/http/HttpHeaders;
pop
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.channelRead:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http/HttpServerExpectContinueHandler;
0 13 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 13 2 msg Ljava/lang/Object;
2 11 3 req Lio/netty/handler/codec/http/HttpRequest;
4 11 4 accept Lio/netty/handler/codec/http/HttpResponse;
6 9 5 rejection Lio/netty/handler/codec/http/HttpResponse;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
}
SourceFile: "HttpServerExpectContinueHandler.java"