final class io.vertx.core.http.impl.VertxHttpResponseEncoder extends io.netty.handler.codec.http.HttpResponseEncoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.http.impl.VertxHttpResponseEncoder
super_class: io.netty.handler.codec.http.HttpResponseEncoder
{
private io.netty.channel.ChannelHandlerContext context;
descriptor: Lio/netty/channel/ChannelHandlerContext;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.http.HttpResponseEncoder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/VertxHttpResponseEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, , java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield io.vertx.core.http.impl.VertxHttpResponseEncoder.context:Lio/netty/channel/ChannelHandlerContext;
aload 2
aload 3
invokespecial io.netty.handler.codec.http.HttpResponseEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)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/vertx/core/http/impl/VertxHttpResponseEncoder;
0 2 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 2 2 msg Ljava/lang/Object;
0 2 3 out Ljava/util/List<Ljava/lang/Object;>;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
protected void encodeHeaders(io.netty.handler.codec.http.HttpHeaders, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/buffer/ByteBuf;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof io.vertx.core.http.impl.headers.HeadersMultiMap
ifeq 4
1: aload 1
checkcast io.vertx.core.http.impl.headers.HeadersMultiMap
astore 3
start local 3 2: aload 3
aload 2
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.encode:(Lio/netty/buffer/ByteBuf;)V
end local 3 3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial io.netty.handler.codec.http.HttpResponseEncoder.encodeHeaders:(Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/buffer/ByteBuf;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/VertxHttpResponseEncoder;
0 6 1 headers Lio/netty/handler/codec/http/HttpHeaders;
0 6 2 buf Lio/netty/buffer/ByteBuf;
2 3 3 vertxHeaders Lio/vertx/core/http/impl/headers/HeadersMultiMap;
MethodParameters:
Name Flags
headers
buf
public void handlerAdded(io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/netty/channel/ChannelHandlerContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.vertx.core.net.impl.PartialPooledByteBufAllocator.forceDirectAllocator:(Lio/netty/channel/ChannelHandlerContext;)Lio/netty/channel/ChannelHandlerContext;
putfield io.vertx.core.http.impl.VertxHttpResponseEncoder.context:Lio/netty/channel/ChannelHandlerContext;
1: aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseEncoder.handlerAdded:(Lio/netty/channel/ChannelHandlerContext;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/VertxHttpResponseEncoder;
0 3 1 ctx Lio/netty/channel/ChannelHandlerContext;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpResponse);
descriptor: (Lio/netty/handler/codec/http/HttpResponse;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.vertx.core.http.impl.AssembledHttpResponse
ifeq 1
aload 1
checkcast io.vertx.core.http.impl.AssembledHttpResponse
invokevirtual io.vertx.core.http.impl.AssembledHttpResponse.head:()Z
ifne 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseEncoder.isContentAlwaysEmpty:(Lio/netty/handler/codec/http/HttpResponse;)Z
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/VertxHttpResponseEncoder;
0 3 1 msg Lio/netty/handler/codec/http/HttpResponse;
MethodParameters:
Name Flags
msg
}
SourceFile: "VertxHttpResponseEncoder.java"