public class io.vertx.core.http.impl.Http1xServerResponse implements io.vertx.core.http.HttpServerResponse, io.vertx.core.spi.observability.HttpResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.impl.Http1xServerResponse
super_class: java.lang.Object
{
private static final io.vertx.core.buffer.Buffer EMPTY_BUFFER;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.vertx.core.impl.logging.Logger log;
descriptor: Lio/vertx/core/impl/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String RESPONSE_WRITTEN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Response has already been written"
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.codec.http.HttpRequest request;
descriptor: Lio/netty/handler/codec/http/HttpRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.http.impl.Http1xServerConnection conn;
descriptor: Lio/vertx/core/http/impl/Http1xServerConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.netty.handler.codec.http.HttpResponseStatus status;
descriptor: Lio/netty/handler/codec/http/HttpResponseStatus;
flags: (0x0002) ACC_PRIVATE
private final io.netty.handler.codec.http.HttpVersion version;
descriptor: Lio/netty/handler/codec/http/HttpVersion;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean keepAlive;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean head;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object requestMetric;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean headWritten;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean written;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<java.lang.Void> drainHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
private io.vertx.core.Handler<java.lang.Void> closeHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Void> endHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Void> headersEndHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<java.lang.Void> bodyEndHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private boolean writable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final io.vertx.core.http.impl.headers.HeadersMultiMap ;
descriptor: Lio/vertx/core/http/impl/headers/HeadersMultiMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.String, io.vertx.core.http.impl.ServerCookie> cookies;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;
private io.vertx.core.MultiMap trailers;
descriptor: Lio/vertx/core/MultiMap;
flags: (0x0002) ACC_PRIVATE
private io.netty.handler.codec.http.HttpHeaders trailingHeaders;
descriptor: Lio/netty/handler/codec/http/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
private java.lang.String statusMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private long bytesWritten;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Future<io.vertx.core.net.NetSocket> netSocket;
descriptor: Lio/vertx/core/Future;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Future<Lio/vertx/core/net/NetSocket;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Lio/netty/buffer/ByteBuf;)Lio/vertx/core/buffer/Buffer;
putstatic io.vertx.core.http.impl.Http1xServerResponse.EMPTY_BUFFER:Lio/vertx/core/buffer/Buffer;
1: ldc Lio/vertx/core/http/impl/Http1xServerResponse;
invokestatic io.vertx.core.impl.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.core.http.impl.Http1xServerResponse.log:Lio/vertx/core/impl/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.vertx.core.impl.VertxInternal, io.vertx.core.impl.ContextInternal, io.vertx.core.http.impl.Http1xServerConnection, io.netty.handler.codec.http.HttpRequest, java.lang.Object);
descriptor: (Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/http/impl/Http1xServerConnection;Lio/netty/handler/codec/http/HttpRequest;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.handler.codec.http.EmptyHttpHeaders.INSTANCE:Lio/netty/handler/codec/http/EmptyHttpHeaders;
putfield io.vertx.core.http.impl.Http1xServerResponse.trailingHeaders:Lio/netty/handler/codec/http/HttpHeaders;
2: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.vertx:Lio/vertx/core/impl/VertxInternal;
3: aload 0
aload 3
putfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
4: aload 0
aload 2
putfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
5: aload 0
aload 4
invokeinterface io.netty.handler.codec.http.HttpRequest.protocolVersion:()Lio/netty/handler/codec/http/HttpVersion;
putfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
6: aload 0
invokestatic io.vertx.core.http.impl.headers.HeadersMultiMap.httpHeaders:()Lio/vertx/core/http/impl/headers/HeadersMultiMap;
putfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
7: aload 0
aload 4
putfield io.vertx.core.http.impl.Http1xServerResponse.request:Lio/netty/handler/codec/http/HttpRequest;
8: aload 0
getstatic io.netty.handler.codec.http.HttpResponseStatus.OK:Lio/netty/handler/codec/http/HttpResponseStatus;
putfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
9: aload 0
aload 5
putfield io.vertx.core.http.impl.Http1xServerResponse.requestMetric:Ljava/lang/Object;
10: aload 0
aload 3
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.isNotWritable:()Z
ifeq 11
iconst_0
goto 12
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.impl.VertxInternal io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xServerConnection io.netty.handler.codec.http.HttpRequest java.lang.Object
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
11: iconst_1
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.impl.VertxInternal io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xServerConnection io.netty.handler.codec.http.HttpRequest java.lang.Object
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse int
12: putfield io.vertx.core.http.impl.Http1xServerResponse.writable:Z
13: aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
if_acmpne 14
aload 4
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.CLOSE:Ljava/lang/CharSequence;
iconst_1
invokevirtual io.netty.handler.codec.http.HttpHeaders.contains:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
ifeq 16
14: StackMap locals:
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_0:Lio/netty/handler/codec/http/HttpVersion;
if_acmpne 15
aload 4
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.KEEP_ALIVE:Ljava/lang/CharSequence;
iconst_1
invokevirtual io.netty.handler.codec.http.HttpHeaders.contains:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
ifne 16
StackMap locals:
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
15: iconst_0
goto 17
StackMap locals:
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
16: iconst_1
17: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.impl.VertxInternal io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xServerConnection io.netty.handler.codec.http.HttpRequest java.lang.Object
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse int
putfield io.vertx.core.http.impl.Http1xServerResponse.keepAlive:Z
18: aload 0
aload 4
invokeinterface io.netty.handler.codec.http.HttpRequest.method:()Lio/netty/handler/codec/http/HttpMethod;
getstatic io.netty.handler.codec.http.HttpMethod.HEAD:Lio/netty/handler/codec/http/HttpMethod;
if_acmpne 19
iconst_1
goto 20
StackMap locals:
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
19: iconst_0
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.impl.VertxInternal io.vertx.core.impl.ContextInternal io.vertx.core.http.impl.Http1xServerConnection io.netty.handler.codec.http.HttpRequest java.lang.Object
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse int
20: putfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
21: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 22 1 vertx Lio/vertx/core/impl/VertxInternal;
0 22 2 context Lio/vertx/core/impl/ContextInternal;
0 22 3 conn Lio/vertx/core/http/impl/Http1xServerConnection;
0 22 4 request Lio/netty/handler/codec/http/HttpRequest;
0 22 5 requestMetric Ljava/lang/Object;
MethodParameters:
Name Flags
vertx final
context
conn
request
requestMetric
public io.vertx.core.MultiMap ();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public io.vertx.core.MultiMap trailers();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.trailers:Lio/vertx/core/MultiMap;
ifnonnull 4
1: invokestatic io.vertx.core.http.impl.headers.HeadersMultiMap.httpHeaders:()Lio/vertx/core/http/impl/headers/HeadersMultiMap;
astore 1
start local 1 2: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.trailers:Lio/vertx/core/MultiMap;
3: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.trailingHeaders:Lio/netty/handler/codec/http/HttpHeaders;
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.trailers:Lio/vertx/core/MultiMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
2 4 1 v Lio/vertx/core/http/impl/headers/HeadersMultiMap;
public int statusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public int getStatusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public io.vertx.core.http.HttpServerResponse setStatusCode(int);
descriptor: (I)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.statusMessage:Ljava/lang/String;
ifnull 3
new io.netty.handler.codec.http.HttpResponseStatus
dup
iload 1
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.statusMessage:Ljava/lang/String;
invokespecial io.netty.handler.codec.http.HttpResponseStatus.<init>:(ILjava/lang/String;)V
goto 4
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse
3: iload 1
invokestatic io.netty.handler.codec.http.HttpResponseStatus.valueOf:(I)Lio/netty/handler/codec/http/HttpResponseStatus;
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.handler.codec.http.HttpResponseStatus
4: putfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 10 1 statusCode I
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
statusCode
public java.lang.String getStatusMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.reasonPhrase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public io.vertx.core.http.HttpServerResponse setStatusMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.statusMessage:Ljava/lang/String;
3: aload 0
new io.netty.handler.codec.http.HttpResponseStatus
dup
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
invokevirtual io.netty.handler.codec.http.HttpResponseStatus.code:()I
aload 1
invokespecial io.netty.handler.codec.http.HttpResponseStatus.<init>:(ILjava/lang/String;)V
putfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 statusMessage Ljava/lang/String;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
statusMessage
public io.vertx.core.http.impl.Http1xServerResponse setChunked(boolean);
descriptor: (Z)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_0:Lio/netty/handler/codec/http/HttpVersion;
if_acmpeq 6
3: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.TRANSFER_ENCODING:Ljava/lang/CharSequence;
iload 1
ifeq 4
ldc "chunked"
goto 5
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: io.vertx.core.http.impl.headers.HeadersMultiMap java.lang.CharSequence
4: aconst_null
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: io.vertx.core.http.impl.headers.HeadersMultiMap java.lang.CharSequence java.lang.String
5: invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
6: StackMap locals:
StackMap stack:
aload 0
aload 2
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
9: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 10 1 chunked Z
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
chunked
public boolean isChunked();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.TRANSFER_ENCODING:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.CHUNKED:Ljava/lang/CharSequence;
iconst_1
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public io.vertx.core.http.impl.Http1xServerResponse (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.String io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 key Ljava/lang/String;
0 7 2 value Ljava/lang/String;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.impl.Http1xServerResponse putHeader(java.lang.String, java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.Iterable io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 key Ljava/lang/String;
0 7 2 values Ljava/lang/Iterable<Ljava/lang/String;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;)Lio/vertx/core/http/impl/Http1xServerResponse;
MethodParameters:
Name Flags
key
values
public io.vertx.core.http.impl.Http1xServerResponse putTrailer(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.trailers:()Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.String io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 key Ljava/lang/String;
0 7 2 value Ljava/lang/String;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.impl.Http1xServerResponse putTrailer(java.lang.String, java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.trailers:()Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/MultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.Iterable io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 key Ljava/lang/String;
0 7 2 values Ljava/lang/Iterable<Ljava/lang/String;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/lang/String;Ljava/lang/Iterable<Ljava/lang/String;>;)Lio/vertx/core/http/impl/Http1xServerResponse;
MethodParameters:
Name Flags
key
values
public io.vertx.core.http.HttpServerResponse (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.CharSequence java.lang.CharSequence io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 name Ljava/lang/CharSequence;
0 7 2 value Ljava/lang/CharSequence;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
name
value
public io.vertx.core.http.HttpServerResponse putHeader(java.lang.CharSequence, java.lang.Iterable<java.lang.CharSequence>);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.CharSequence java.lang.Iterable io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 name Ljava/lang/CharSequence;
0 7 2 values Ljava/lang/Iterable<Ljava/lang/CharSequence;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/lang/CharSequence;Ljava/lang/Iterable<Ljava/lang/CharSequence;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
name
values
public io.vertx.core.http.HttpServerResponse putTrailer(java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.trailers:()Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/MultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.CharSequence java.lang.CharSequence io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 name Ljava/lang/CharSequence;
0 7 2 value Ljava/lang/CharSequence;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
name
value
public io.vertx.core.http.HttpServerResponse putTrailer(java.lang.CharSequence, java.lang.Iterable<java.lang.CharSequence>);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.trailers:()Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/MultiMap;
pop
3: aload 0
aload 3
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.CharSequence java.lang.Iterable io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
6: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 name Ljava/lang/CharSequence;
0 7 2 value Ljava/lang/Iterable<Ljava/lang/CharSequence;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: (Ljava/lang/CharSequence;Ljava/lang/Iterable<Ljava/lang/CharSequence;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
name
value
public io.vertx.core.http.HttpServerResponse setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
iload 1
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.doSetWriteQueueMaxSize:(I)V
3: aload 0
aload 2
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 7 1 size I
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
size
public boolean writeQueueFull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.writable:Z
ifeq 3
iconst_0
goto 4
StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: aload 1
monitorexit
5: ireturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 5 6 any
6 7 6 any
public io.vertx.core.http.HttpServerResponse drainHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.drainHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.HttpServerResponse exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.exceptionHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.HttpServerResponse closeHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.closeHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.HttpServerResponse endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 1
ifnull 3
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.endHandler:Lio/vertx/core/Handler;
4: aload 0
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerResponse;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<java.lang.Void> write(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
aload 1
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
2: aload 2
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 3 1 chunk Lio/vertx/core/buffer/Buffer;
1 3 2 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
public void write(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 2
ifnonnull 1
aconst_null
goto 2
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf io.vertx.core.impl.future.PromiseInternal
2: invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 4 1 chunk Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
handler
public io.vertx.core.Future<java.lang.Void> write(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 3
start local 3 1: aload 0
aload 1
aload 2
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 3
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
2: aload 3
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 3 1 chunk Ljava/lang/String;
0 3 2 enc Ljava/lang/String;
1 3 3 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
enc
public void write(java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 3
ifnonnull 1
aconst_null
goto 2
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.String io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String java.lang.String io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf io.vertx.core.impl.future.PromiseInternal
2: invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 4 1 chunk Ljava/lang/String;
0 4 2 enc Ljava/lang/String;
0 4 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
enc
handler
public io.vertx.core.Future<java.lang.Void> write(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
aload 1
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
2: aload 2
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 3 1 chunk Ljava/lang/String;
1 3 2 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
public void write(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
aload 2
ifnonnull 1
aconst_null
goto 2
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf io.vertx.core.impl.future.PromiseInternal
2: invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 4 1 chunk Ljava/lang/String;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
handler
public io.vertx.core.http.HttpServerResponse writeContinue();
descriptor: ()Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.write100Continue:()V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public io.vertx.core.Future<java.lang.Void> end(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
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.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 1 1 chunk Ljava/lang/String;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
public void end(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 2 1 chunk Ljava/lang/String;
0 2 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
handler
public io.vertx.core.Future<java.lang.Void> end(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 1 1 chunk Ljava/lang/String;
0 1 2 enc Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
enc
public void end(java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)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 2
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
aload 3
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)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/Http1xServerResponse;
0 2 1 chunk Ljava/lang/String;
0 2 2 enc Ljava/lang/String;
0 2 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
enc
handler
public io.vertx.core.Future<java.lang.Void> end(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/impl/future/PromiseInternal;)V
2: aload 2
invokeinterface io.vertx.core.impl.future.PromiseInternal.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 3 1 chunk Lio/vertx/core/buffer/Buffer;
1 3 2 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
chunk
public void end(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ifnonnull 1
aconst_null
goto 2
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer io.vertx.core.Handler
StackMap stack: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.buffer.Buffer io.vertx.core.impl.future.PromiseInternal
2: invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/impl/future/PromiseInternal;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 4 1 chunk Lio/vertx/core/buffer/Buffer;
0 4 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
chunk
handler
private void end(io.vertx.core.buffer.Buffer, io.vertx.core.impl.future.PromiseInternal<java.lang.Void>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/impl/future/PromiseInternal;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Response has already been written"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 1
invokeinterface io.vertx.core.buffer.Buffer.getByteBuf:()Lio/netty/buffer/ByteBuf;
astore 4
start local 4 4: aload 0
dup
getfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
aload 4
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
i2l
ladd
putfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
5: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifne 9
6: aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.prepareHeaders:(J)V
7: new io.vertx.core.http.impl.AssembledFullHttpResponse
dup
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 4
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.trailingHeaders:Lio/netty/handler/codec/http/HttpHeaders;
invokespecial io.vertx.core.http.impl.AssembledFullHttpResponse.<init>:(ZLio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http/HttpHeaders;)V
astore 5
start local 5 8: goto 10
end local 5 9: StackMap locals: io.netty.buffer.ByteBuf
StackMap stack:
new io.vertx.core.http.impl.AssembledLastHttpContent
dup
aload 4
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.trailingHeaders:Lio/netty/handler/codec/http/HttpHeaders;
invokespecial io.vertx.core.http.impl.AssembledLastHttpContent.<init>:(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/http/HttpHeaders;)V
astore 5
start local 5 10: StackMap locals: io.netty.handler.codec.http.HttpObject
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
aload 5
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener;)V
11: aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
12: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.responseComplete:()V
13: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bodyEndHandler:Lio/vertx/core/Handler;
ifnull 15
14: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bodyEndHandler:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
ifne 17
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.endHandler:Lio/vertx/core/Handler;
ifnull 17
16: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.endHandler:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.keepAlive:Z
ifne 20
18: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.closeConnAfterWrite:()V
19: aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
end local 5 end local 4 20: StackMap locals:
StackMap stack:
aload 3
monitorexit
21: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
22: aload 3
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 25 1 chunk Lio/vertx/core/buffer/Buffer;
0 25 2 listener Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
4 20 4 data Lio/netty/buffer/ByteBuf;
8 9 5 msg Lio/netty/handler/codec/http/HttpObject;
10 20 5 msg Lio/netty/handler/codec/http/HttpObject;
Exception table:
from to target type
1 21 22 any
22 23 22 any
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
chunk
listener
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
ifne 7
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifeq 5
3: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.closeConnAfterWrite:()V
4: goto 6
5: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.close:()Lio/vertx/core/Future;
pop
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
7: StackMap locals:
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 8 9 any
9 10 9 any
public io.vertx.core.Future<java.lang.Void> end();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.vertx.core.http.impl.Http1xServerResponse.EMPTY_BUFFER:Lio/vertx/core/buffer/Buffer;
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.core.http.impl.Http1xServerResponse.EMPTY_BUFFER:Lio/vertx/core/buffer/Buffer;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<java.lang.Void> sendFile(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 6
start local 6 1: aload 0
aload 1
lload 2
lload 4
aload 6
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.sendFile:(Ljava/lang/String;JJLio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 6
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 3 1 filename Ljava/lang/String;
0 3 2 offset J
0 3 4 length J
1 3 6 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;JJ)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
filename
offset
length
public io.vertx.core.http.HttpServerResponse sendFile(java.lang.String, long, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;JJLio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
aload 1
lload 2
lload 4
aload 6
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.doSendFile:(Ljava/lang/String;JJLio/vertx/core/Handler;)V
1: aload 0
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 2 1 filename Ljava/lang/String;
0 2 2 start J
0 2 4 end J
0 2 6 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;JJLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
filename
start
end
resultHandler
public boolean ended();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public boolean closed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public boolean headWritten();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public long bytesWritten();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
aload 1
monitorexit
2: lreturn
3: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public io.vertx.core.http.HttpServerResponse headersEndHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.headersEndHandler:Lio/vertx/core/Handler;
2: aload 0
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 6 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
handler
public io.vertx.core.http.HttpServerResponse bodyEndHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
aload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.bodyEndHandler:Lio/vertx/core/Handler;
2: aload 0
aload 2
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 6 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
1 3 4 any
4 5 4 any
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
handler
private void doSendFile(java.lang.String, long, long, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;JJLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 7
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkValid:()V
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifeq 4
3: new java.lang.IllegalStateException
dup
ldc "Head already written"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.vertx:Lio/vertx/core/impl/VertxInternal;
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.resolveFile:(Ljava/lang/String;)Ljava/io/File;
astore 8
start local 8 5: aload 8
invokevirtual java.io.File.exists:()Z
ifne 13
6: aload 6
ifnull 10
7: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 9
start local 9 8: aload 9
aload 6
invokedynamic handle(Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$0(Lio/vertx/core/Handler;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
end local 9 9: goto 11
10: StackMap locals: java.io.File
StackMap stack:
getstatic io.vertx.core.http.impl.Http1xServerResponse.log:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "File not found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 7
monitorexit
12: return
13: StackMap locals:
StackMap stack:
lload 4
aload 8
invokevirtual java.io.File.length:()J
lload 2
lsub
invokestatic java.lang.Math.min:(JJ)J
lstore 9
start local 9 14: aload 0
lload 9
putfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
15: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 19
16: aload 1
invokestatic io.vertx.core.http.impl.MimeMapping.getMimeTypeForFilename:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 17: aload 11
ifnull 19
18: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
aload 11
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
end local 11 19: StackMap locals: long
StackMap stack:
aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.prepareHeaders:(J)V
20: aconst_null
astore 12
start local 12 21: new java.io.RandomAccessFile
dup
aload 8
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 12
22: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
new io.vertx.core.http.impl.AssembledHttpResponse
dup
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
invokespecial io.vertx.core.http.impl.AssembledHttpResponse.<init>:(ZLio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/handler/codec/http/HttpHeaders;)V
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;)V
23: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
aload 12
lload 2
aload 8
invokevirtual java.io.File.length:()J
invokestatic java.lang.Math.min:(JJ)J
lload 9
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.sendFile:(Ljava/io/RandomAccessFile;JJ)Lio/netty/channel/ChannelFuture;
astore 11
start local 11 24: goto 37
end local 11 StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String long long io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection java.io.File long top java.io.RandomAccessFile
StackMap stack: java.io.IOException
25: astore 13
start local 13 26: aload 12
ifnull 30
27: aload 12
invokevirtual java.io.RandomAccessFile.close:()V
28: goto 30
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String long long io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection java.io.File long top java.io.RandomAccessFile java.io.IOException
StackMap stack: java.io.IOException
29: pop
30: StackMap locals:
StackMap stack:
aload 6
ifnull 34
31: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 14
start local 14 32: aload 14
aload 6
aload 13
invokedynamic handle(Lio/vertx/core/Handler;Ljava/io/IOException;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$1(Lio/vertx/core/Handler;Ljava/io/IOException;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
end local 14 33: goto 35
34: StackMap locals:
StackMap stack:
getstatic io.vertx.core.http.impl.Http1xServerResponse.log:Lio/vertx/core/impl/logging/Logger;
ldc "Failed to send file"
aload 13
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
35: StackMap locals:
StackMap stack:
aload 7
monitorexit
36: return
end local 13 start local 11 37: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String long long io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection java.io.File long io.netty.channel.ChannelFuture java.io.RandomAccessFile
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
38: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 13
start local 13 39: aload 11
aload 0
aload 6
aload 13
invokedynamic operationComplete(Lio/vertx/core/http/impl/Http1xServerResponse;Lio/vertx/core/Handler;Lio/vertx/core/impl/ContextInternal;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$2(Lio/vertx/core/Handler;Lio/vertx/core/impl/ContextInternal;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 13 end local 12 end local 11 end local 9 end local 8 40: aload 7
monitorexit
41: goto 44
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String long long io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
42: aload 7
monitorexit
43: athrow
44: StackMap locals:
StackMap stack:
return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 45 1 filename Ljava/lang/String;
0 45 2 offset J
0 45 4 length J
0 45 6 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
5 40 8 file Ljava/io/File;
8 9 9 ctx Lio/vertx/core/impl/ContextInternal;
14 40 9 contentLength J
17 19 11 contentType Ljava/lang/String;
24 25 11 channelFuture Lio/netty/channel/ChannelFuture;
37 40 11 channelFuture Lio/netty/channel/ChannelFuture;
21 40 12 raf Ljava/io/RandomAccessFile;
26 37 13 e Ljava/io/IOException;
32 33 14 ctx Lio/vertx/core/impl/ContextInternal;
39 40 13 ctx Lio/vertx/core/impl/ContextInternal;
Exception table:
from to target type
21 24 25 Class java.io.IOException
26 28 29 Class java.io.IOException
1 12 42 any
13 36 42 any
37 41 42 any
42 43 42 any
Signature: (Ljava/lang/String;JJLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
filename
offset
length
resultHandler
private void closeConnAfterWrite();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.channelFuture:()Lio/netty/channel/ChannelPromise;
astore 1
start local 1 1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
getstatic io.netty.buffer.Unpooled.EMPTY_BUFFER:Lio/netty/buffer/ByteBuf;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
2: aload 1
aload 0
invokedynamic operationComplete(Lio/vertx/core/http/impl/Http1xServerResponse;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$6(Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelPromise.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
1 4 1 channelFuture Lio/netty/channel/ChannelPromise;
void handleWritabilityChanged(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.writable:Z
ifeq 2
iload 1
ifne 2
iconst_1
goto 3
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: aload 0
iload 1
putfield io.vertx.core.http.impl.Http1xServerResponse.writable:Z
5: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.drainHandler:Lio/vertx/core/Handler;
astore 2
start local 2 6: aload 2
ifnull 7
iload 4
ifeq 9
7: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection int
StackMap stack:
aload 3
monitorexit
8: return
end local 4 9: StackMap locals:
StackMap stack:
aload 3
monitorexit
10: goto 13
end local 2 StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
start local 2 13: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse int io.vertx.core.Handler
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 15 1 writable Z
6 11 2 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
13 15 2 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
4 9 4 skip Z
Exception table:
from to target type
1 8 11 any
9 10 11 any
11 12 11 any
MethodParameters:
Name Flags
writable
void handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.core.http.impl.Http1xServerConnection.CLOSED_EXCEPTION:Lio/vertx/core/VertxException;
if_acmpne 3
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.handleClosed:()V
2: goto 13
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
4: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.exceptionHandler:Lio/vertx/core/Handler;
astore 2
start local 2 5: aload 2
ifnonnull 8
6: aload 3
monitorexit
7: return
8: StackMap locals: io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 3
monitorexit
9: goto 12
end local 2 StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.Throwable top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
start local 2 12: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.Throwable io.vertx.core.Handler
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 14 1 t Ljava/lang/Throwable;
5 10 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
12 13 2 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
4 7 10 any
8 9 10 any
10 11 10 any
MethodParameters:
Name Flags
t
private void handleClosed();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 4
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
ifeq 4
2: aload 4
monitorexit
3: return
4: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse top top top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.closed:Z
5: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 6
aconst_null
goto 7
StackMap locals:
StackMap stack:
6: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.exceptionHandler:Lio/vertx/core/Handler;
StackMap locals:
StackMap stack: io.vertx.core.Handler
7: astore 3
start local 3 8: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 9
aconst_null
goto 10
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse top top io.vertx.core.Handler io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
9: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.endHandler:Lio/vertx/core/Handler;
StackMap locals:
StackMap stack: io.vertx.core.Handler
10: astore 2
start local 2 11: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.closeHandler:Lio/vertx/core/Handler;
astore 1
start local 1 12: aload 4
monitorexit
13: goto 16
end local 3 end local 2 end local 1 StackMap locals: io.vertx.core.http.impl.Http1xServerResponse top top top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
14: aload 4
monitorexit
15: athrow
start local 1 start local 2 start local 3 16: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.Handler io.vertx.core.Handler io.vertx.core.Handler
StackMap stack:
aload 3
ifnull 18
17: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
getstatic io.vertx.core.net.impl.ConnectionBase.CLOSED_EXCEPTION:Lio/vertx/core/VertxException;
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
18: StackMap locals:
StackMap stack:
aload 2
ifnull 20
19: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
20: StackMap locals:
StackMap stack:
aload 1
ifnull 22
21: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aconst_null
aload 1
invokeinterface io.vertx.core.impl.ContextInternal.dispatch:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
22: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
12 14 1 closedHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
16 23 1 closedHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
11 14 2 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
16 23 2 endHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
8 14 3 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
16 23 3 exceptionHandler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Exception table:
from to target type
1 3 14 any
4 13 14 any
14 15 14 any
private void checkValid();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Response has already been written"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
private void checkHeadWritten();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Response head already sent"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
private void (long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_0:Lio/netty/handler/codec/http/HttpVersion;
if_acmpne 3
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.keepAlive:Z
ifeq 3
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.KEEP_ALIVE:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_1:Lio/netty/handler/codec/http/HttpVersion;
if_acmpne 5
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.keepAlive:Z
ifne 5
4: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONNECTION:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.CLOSE:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
ifne 6
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
getstatic io.netty.handler.codec.http.HttpResponseStatus.NOT_MODIFIED:Lio/netty/handler/codec/http/HttpResponseStatus;
if_acmpne 8
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.TRANSFER_ENCODING:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.remove:(Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.TRANSFER_ENCODING:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 13
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_LENGTH:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 13
lload 1
lconst_0
lcmp
iflt 13
9: lload 1
lconst_0
lcmp
ifne 10
ldc "0"
goto 11
StackMap locals:
StackMap stack:
10: lload 1
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
11: astore 3
start local 3 12: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_LENGTH:Ljava/lang/CharSequence;
aload 3
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
end local 3 13: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headersEndHandler:Lio/vertx/core/Handler;
ifnull 15
14: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headersEndHandler:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.cookies:Ljava/util/Map;
ifnull 17
16: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.setCookies:()V
17: StackMap locals:
StackMap stack:
getstatic io.vertx.core.spi.metrics.Metrics.METRICS_ENABLED:Z
ifeq 19
18: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.reportResponseBegin:()V
19: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 21 1 contentLength J
12 13 3 value Ljava/lang/String;
MethodParameters:
Name Flags
contentLength
private void setCookies();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.cookies:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.http.impl.ServerCookie
astore 1
start local 1 2: aload 1
invokeinterface io.vertx.core.http.impl.ServerCookie.isChanged:()Z
ifeq 4
3: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.SET_COOKIE:Ljava/lang/CharSequence;
aload 1
invokeinterface io.vertx.core.http.impl.ServerCookie.encode:()Ljava/lang/String;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.add:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/impl/headers/HeadersMultiMap;
pop
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
2 4 1 cookie Lio/vertx/core/http/impl/ServerCookie;
private void reportResponseBegin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
getfield io.vertx.core.http.impl.Http1xServerConnection.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
ifnull 2
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
getfield io.vertx.core.http.impl.Http1xServerConnection.metrics:Lio/vertx/core/spi/metrics/HttpServerMetrics;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.requestMetric:Ljava/lang/Object;
aload 0
invokeinterface io.vertx.core.spi.metrics.HttpServerMetrics.responseBegin:(Ljava/lang/Object;Lio/vertx/core/spi/observability/HttpResponse;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
private io.vertx.core.http.impl.Http1xServerResponse write(io.netty.buffer.ByteBuf, io.vertx.core.impl.future.PromiseInternal<java.lang.Void>);
descriptor: (Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal;)Lio/vertx/core/http/impl/Http1xServerResponse;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 3
2: new java.lang.IllegalStateException
dup
ldc "Response has already been written"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifne 6
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.TRANSFER_ENCODING:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 6
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_LENGTH:Ljava/lang/CharSequence;
invokevirtual io.vertx.core.http.impl.headers.HeadersMultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 6
4: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
getstatic io.netty.handler.codec.http.HttpVersion.HTTP_1_0:Lio/netty/handler/codec/http/HttpVersion;
if_acmpeq 6
5: new java.lang.IllegalStateException
dup
ldc "You must set the Content-Length header to be the total size of the message body BEFORE sending any data if you are not using HTTP chunked encoding."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
dup
getfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
aload 1
invokevirtual io.netty.buffer.ByteBuf.readableBytes:()I
i2l
ladd
putfield io.vertx.core.http.impl.Http1xServerResponse.bytesWritten:J
7: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifne 11
8: aload 0
ldc -1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.prepareHeaders:(J)V
9: new io.vertx.core.http.impl.AssembledHttpResponse
dup
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
aload 1
invokespecial io.vertx.core.http.impl.AssembledHttpResponse.<init>:(ZLio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/handler/codec/http/HttpHeaders;Lio/netty/buffer/ByteBuf;)V
astore 4
start local 4 10: goto 12
end local 4 11: StackMap locals:
StackMap stack:
new io.netty.handler.codec.http.DefaultHttpContent
dup
aload 1
invokespecial io.netty.handler.codec.http.DefaultHttpContent.<init>:(Lio/netty/buffer/ByteBuf;)V
astore 4
start local 4 12: StackMap locals: io.netty.handler.codec.http.HttpObject
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
aload 4
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener;)V
13: aload 0
aload 3
monitorexit
14: areturn
end local 4 15: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.netty.buffer.ByteBuf io.vertx.core.impl.future.PromiseInternal io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
16: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 17 1 chunk Lio/netty/buffer/ByteBuf;
0 17 2 promise Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;
10 11 4 msg Lio/netty/handler/codec/http/HttpObject;
12 15 4 msg Lio/netty/handler/codec/http/HttpObject;
Exception table:
from to target type
1 14 15 any
15 16 15 any
Signature: (Lio/netty/buffer/ByteBuf;Lio/vertx/core/impl/future/PromiseInternal<Ljava/lang/Void;>;)Lio/vertx/core/http/impl/Http1xServerResponse;
MethodParameters:
Name Flags
chunk
promise
io.vertx.core.Future<io.vertx.core.net.NetSocket> netSocket();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0000)
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 1
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.netSocket:Lio/vertx/core/Future;
ifnonnull 12
2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headWritten:Z
ifeq 5
3: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
ldc "Response for CONNECT already sent"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
aload 1
monitorexit
4: areturn
5: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 0
getstatic io.netty.handler.codec.http.HttpResponseStatus.OK:Lio/netty/handler/codec/http/HttpResponseStatus;
putfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
6: aload 0
ldc -1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.prepareHeaders:(J)V
7: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
new io.vertx.core.http.impl.AssembledHttpResponse
dup
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.head:Z
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.version:Lio/netty/handler/codec/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.status:Lio/netty/handler/codec/http/HttpResponseStatus;
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.headers:Lio/vertx/core/http/impl/headers/HeadersMultiMap;
invokespecial io.vertx.core.http.impl.AssembledHttpResponse.<init>:(ZLio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/handler/codec/http/HttpHeaders;)V
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;)V
8: aload 0
iconst_1
putfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
9: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 10: aload 0
aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
putfield io.vertx.core.http.impl.Http1xServerResponse.netSocket:Lio/vertx/core/Future;
11: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.netSocket:(Lio/vertx/core/Promise;)V
end local 2 12: StackMap locals:
StackMap stack:
aload 1
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 1
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.netSocket:Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
10 12 2 promise Lio/vertx/core/Promise<Lio/vertx/core/net/NetSocket;>;
Exception table:
from to target type
1 4 14 any
5 13 14 any
14 15 14 any
Signature: ()Lio/vertx/core/Future<Lio/vertx/core/net/NetSocket;>;
public int streamId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
public boolean reset(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.written:Z
ifeq 4
2: aload 3
monitorexit
3: iconst_0
ireturn
4: StackMap locals: io.vertx.core.http.impl.Http1xServerConnection
StackMap stack:
aload 3
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.close:()V
9: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 10 1 code J
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
MethodParameters:
Name Flags
code
public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.MultiMap);
descriptor: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/MultiMap;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
ldc "HTTP/1 does not support response push"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 1 1 method Lio/vertx/core/http/HttpMethod;
0 1 2 host Ljava/lang/String;
0 1 3 path Ljava/lang/String;
0 1 4 headers Lio/vertx/core/MultiMap;
Signature: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/MultiMap;)Lio/vertx/core/Future<Lio/vertx/core/http/HttpServerResponse;>;
MethodParameters:
Name Flags
method
host
path
headers
public io.vertx.core.http.HttpServerResponse writeCustomFrame(int, int, io.vertx.core.buffer.Buffer);
descriptor: (IILio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 1 1 type I
0 1 2 flags I
0 1 3 payload Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
type
flags
payload
java.util.Map<java.lang.String, io.vertx.core.http.impl.ServerCookie> cookies();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.cookies:Ljava/util/Map;
ifnonnull 2
1: aload 0
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.request:Lio/netty/handler/codec/http/HttpRequest;
invokeinterface io.netty.handler.codec.http.HttpRequest.headers:()Lio/netty/handler/codec/http/HttpHeaders;
getstatic io.vertx.core.http.HttpHeaders.COOKIE:Ljava/lang/CharSequence;
invokevirtual io.netty.handler.codec.http.HttpHeaders.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
invokestatic io.vertx.core.http.impl.CookieImpl.extractCookies:(Ljava/lang/CharSequence;)Ljava/util/Map;
putfield io.vertx.core.http.impl.Http1xServerResponse.cookies:Ljava/util/Map;
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.cookies:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
Signature: ()Ljava/util/Map<Ljava/lang/String;Lio/vertx/core/http/impl/ServerCookie;>;
public io.vertx.core.http.HttpServerResponse addCookie(io.vertx.core.http.Cookie);
descriptor: (Lio/vertx/core/http/Cookie;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 2
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.cookies:()Ljava/util/Map;
aload 1
invokeinterface io.vertx.core.http.Cookie.getName:()Ljava/lang/String;
aload 1
checkcast io.vertx.core.http.impl.ServerCookie
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 2
monitorexit
4: goto 7
StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.http.Cookie io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 8 1 cookie Lio/vertx/core/http/Cookie;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
cookie
public io.vertx.core.http.Cookie removeCookie(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lio/vertx/core/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 3
monitorenter
1: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.checkHeadWritten:()V
2: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.cookies:()Ljava/util/Map;
aload 1
iload 2
invokestatic io.vertx.core.http.impl.CookieImpl.removeCookie:(Ljava/util/Map;Ljava/lang/String;Z)Lio/vertx/core/http/Cookie;
aload 3
monitorexit
3: areturn
4: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse java.lang.String int io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
aload 3
monitorexit
5: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 6 1 name Ljava/lang/String;
0 6 2 invalidate Z
Exception table:
from to target type
1 3 4 any
4 5 4 any
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
name
invalidate
public void end(java.lang.Object, io.vertx.core.Handler);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
return
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future end(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.end:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.HttpServerResponse putTrailer(java.lang.String, java.lang.Iterable);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.putTrailer:(Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/Http1xServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.HttpServerResponse putTrailer(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.putTrailer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/impl/Http1xServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void write(java.lang.Object, io.vertx.core.Handler);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
return
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future write(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/streams/WriteStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.setWriteQueueMaxSize:(I)Lio/vertx/core/http/HttpServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.HttpServerResponse (java.lang.String, java.lang.Iterable);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/Iterable;)Lio/vertx/core/http/impl/Http1xServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.HttpServerResponse (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/impl/Http1xServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.http.HttpServerResponse setChunked(boolean);
descriptor: (Z)Lio/vertx/core/http/HttpServerResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.setChunked:(Z)Lio/vertx/core/http/impl/Http1xServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.WriteStream drainHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.drainHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static void lambda$1(io.vertx.core.Handler, java.io.IOException, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/io/IOException;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
private void lambda$2(io.vertx.core.Handler, io.vertx.core.impl.ContextInternal, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/impl/ContextInternal;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 5
1: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.newPromise:()Lio/netty/channel/ChannelPromise;
astore 4
start local 4 2: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
getstatic io.netty.handler.codec.http.LastHttpContent.EMPTY_LAST_CONTENT:Lio/netty/handler/codec/http/LastHttpContent;
aload 4
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.writeToChannel:(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V
3: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.keepAlive:Z
ifne 5
4: aload 4
aload 0
invokedynamic operationComplete(Lio/vertx/core/http/impl/Http1xServerResponse;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$3(Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelPromise.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise;
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 1
ifnull 11
6: aload 3
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 9
7: invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
astore 4
start local 4 8: goto 10
end local 4 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
astore 4
start local 4 10: StackMap locals: io.vertx.core.AsyncResult
StackMap stack:
aload 2
aconst_null
aload 1
aload 4
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$4(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Object;)V (6)
(Ljava/lang/Object;)V
invokeinterface io.vertx.core.impl.ContextInternal.emit:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
end local 4 11: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
dup
astore 5
monitorenter
12: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.bodyEndHandler:Lio/vertx/core/Handler;
astore 4
start local 4 13: aload 5
monitorexit
14: goto 17
end local 4 StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.Handler io.vertx.core.impl.ContextInternal io.netty.util.concurrent.Future top io.vertx.core.http.impl.Http1xServerConnection
StackMap stack: java.lang.Throwable
15: aload 5
monitorexit
16: athrow
start local 4 17: StackMap locals: io.vertx.core.http.impl.Http1xServerResponse io.vertx.core.Handler io.vertx.core.impl.ContextInternal io.netty.util.concurrent.Future io.vertx.core.Handler
StackMap stack:
aload 4
ifnull 19
18: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.context:Lio/vertx/core/impl/ContextInternal;
aload 4
invokedynamic handle(Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/http/impl/Http1xServerResponse.lambda$5(Lio/vertx/core/Handler;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.emit:(Lio/vertx/core/Handler;)V
19: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.responseComplete:()V
end local 4 20: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 21 3 future Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
2 5 4 pr Lio/netty/channel/ChannelPromise;
8 9 4 res Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
10 11 4 res Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
13 15 4 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
17 20 4 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Exception table:
from to target type
12 14 15 any
15 16 15 any
Exceptions:
throws java.lang.Exception
private void lambda$6(io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.Http1xServerResponse.conn:Lio/vertx/core/http/impl/Http1xServerConnection;
invokevirtual io.vertx.core.http.impl.Http1xServerConnection.close:()Lio/vertx/core/Future;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 1 1 fut Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private void lambda$3(io.netty.util.concurrent.Future);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.core.http.impl.Http1xServerResponse.closeConnAfterWrite:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/Http1xServerResponse;
0 2 1 a Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private static void lambda$4(io.vertx.core.Handler, io.vertx.core.AsyncResult, java.lang.Object);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Object;
private static void lambda$5(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
}
SourceFile: "Http1xServerResponse.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles