public class examples.HTTPExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.HTTPExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/HTTPExamples;
public void example1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example2(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpServerOptions
dup
invokespecial io.vertx.core.http.HttpServerOptions.<init>:()V
ldc 1000000
invokevirtual io.vertx.core.http.HttpServerOptions.setMaxWebsocketFrameSize:(I)Lio/vertx/core/http/HttpServerOptions;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/http/HttpServerOptions;
MethodParameters:
Name Flags
vertx
public void exampleServerLogging(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpServerOptions
dup
invokespecial io.vertx.core.http.HttpServerOptions.<init>:()V
iconst_1
invokevirtual io.vertx.core.http.HttpServerOptions.setLogActivity:(Z)Lio/vertx/core/http/HttpServerOptions;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/http/HttpServerOptions;
MethodParameters:
Name Flags
vertx
public void example3(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.http.HttpServer.listen:()Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
vertx
public void example4(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
astore 2
start local 2 1: aload 2
sipush 8080
ldc "myhost.com"
invokeinterface io.vertx.core.http.HttpServer.listen:(ILjava/lang/String;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
vertx
public void example5(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
astore 2
start local 2 1: aload 2
sipush 8080
ldc "myhost.com"
invokedynamic handle()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
examples/HTTPExamples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpServer.listen:(ILjava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
vertx
public void example6(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
astore 2
start local 2 1: aload 2
invokedynamic handle()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
examples/HTTPExamples.lambda$1(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
vertx
public void example7(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
astore 2
start local 2 1: aload 2
invokedynamic handle()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
examples/HTTPExamples.lambda$2(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
vertx
public void example7_1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/HTTPExamples.lambda$3(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example8(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.headers:()Lio/vertx/core/MultiMap;
astore 2
start local 2 1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "User agent is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
ldc "user-agent"
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "User agent is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
ldc "User-Agent"
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpServerRequest;
1 4 2 headers Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
request
public void example9(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$4(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpServerRequest.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public void example10(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 1: aload 1
aload 2
invokedynamic handle(Lio/vertx/core/buffer/Buffer;)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
examples/HTTPExamples.lambda$5(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpServerRequest.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
2: aload 1
aload 2
invokedynamic handle(Lio/vertx/core/buffer/Buffer;)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
examples/HTTPExamples.lambda$6(Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpServerRequest.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpServerRequest;
1 4 2 totalBuffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
request
public void example11(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$7(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpServerRequest.bodyHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public void example12(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$8(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void example13(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$10(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void example14(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$12(Lio/vertx/core/http/HttpServerFileUpload;)V (6)
(Lio/vertx/core/http/HttpServerFileUpload;)V
invokeinterface io.vertx.core.http.HttpServerRequest.uploadHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public void example15(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$14(Lio/vertx/core/http/HttpServerFileUpload;)V (6)
(Lio/vertx/core/http/HttpServerFileUpload;)V
invokeinterface io.vertx.core.http.HttpServerRequest.uploadHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
public void example16(io.vertx.core.http.HttpServerRequest, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/http/HttpServerRequest;Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 3
start local 3 1: aload 3
aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
0 3 2 buffer Lio/vertx/core/buffer/Buffer;
1 3 3 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
buffer
public void example17(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "hello world!"
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
1 3 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example18(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "hello world!"
ldc "UTF-16"
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
1 3 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example19(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "hello world!"
invokeinterface io.vertx.core.http.HttpServerResponse.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpServerRequest;
1 4 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example20(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "hello world!"
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
1 3 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example21(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.headers:()Lio/vertx/core/MultiMap;
astore 3
start local 3 2: aload 3
ldc "content-type"
ldc "text/html"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
pop
3: aload 3
ldc "other-header"
ldc "wibble"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HTTPExamples;
0 5 1 request Lio/vertx/core/http/HttpServerRequest;
1 5 2 response Lio/vertx/core/http/HttpServerResponse;
2 5 3 headers Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
request
public void example22(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
ldc "content-type"
ldc "text/html"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
ldc "other-header"
ldc "wibble"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
1 3 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example23(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpServerRequest;
1 3 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example24(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.trailers:()Lio/vertx/core/MultiMap;
astore 3
start local 3 3: aload 3
ldc "X-wibble"
ldc "woobble"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
ldc "X-quux"
ldc "flooble"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HTTPExamples;
0 5 1 request Lio/vertx/core/http/HttpServerRequest;
1 5 2 response Lio/vertx/core/http/HttpServerResponse;
3 5 3 trailers Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
request
public void example25(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 2
start local 2 1: aload 2
iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 2
ldc "X-wibble"
ldc "woobble"
invokeinterface io.vertx.core.http.HttpServerResponse.putTrailer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
ldc "X-quux"
ldc "flooble"
invokeinterface io.vertx.core.http.HttpServerResponse.putTrailer:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpServerRequest;
1 4 2 response Lio/vertx/core/http/HttpServerResponse;
MethodParameters:
Name Flags
request
public void example26(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/HTTPExamples.lambda$15(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example26b(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/HTTPExamples.lambda$16(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example26c(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/HTTPExamples.lambda$17(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example27(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
invokedynamic handle()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
examples/HTTPExamples.lambda$18(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example28(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example29(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
iconst_0
invokevirtual io.vertx.core.http.HttpClientOptions.setKeepAlive:(Z)Lio/vertx/core/http/HttpClientOptions;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
public void exampleClientLogging(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
iconst_1
invokevirtual io.vertx.core.http.HttpClientOptions.setLogActivity:(Z)Lio/vertx/core/http/HttpClientOptions;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 options Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
public void example30(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
ldc "wibble.com"
invokevirtual io.vertx.core.http.HttpClientOptions.setDefaultHost:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientOptions;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
astore 3
start local 3 2: aload 3
ldc "/some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$20(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
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 Lexamples/HTTPExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 options Lio/vertx/core/http/HttpClientOptions;
2 4 3 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
public void example31(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
astore 2
start local 2 1: aload 2
sipush 8080
ldc "myserver.mycompany.com"
ldc "/some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$21(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
2: aload 2
ldc "foo.othercompany.com"
ldc "/other-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$22(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
public void example32(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
astore 2
start local 2 1: aload 2
ldc "/some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$23(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
2: aload 2
ldc "/other-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$24(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.headNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
1 4 2 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
public void example33(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
astore 2
start local 2 1: aload 2
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$25(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
2: invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
3: aload 2
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
ldc "foo-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$26(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
4: ldc "some-data"
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Ljava/lang/String;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/HTTPExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
1 6 2 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
public void example34(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
astore 3
start local 3 1: aload 3
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$27(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
astore 4
start local 4 2: aload 4
ldc "content-length"
ldc "1000"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
3: aload 4
ldc "content-type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
4: aload 4
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
5: aload 4
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
6: aload 3
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$28(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
7: ldc "content-length"
ldc "1000"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
ldc "content-type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
8: aload 3
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$29(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
9: ldc "content-type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Ljava/lang/String;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/HTTPExamples;
0 11 1 vertx Lio/vertx/core/Vertx;
0 11 2 body Ljava/lang/String;
1 11 3 client Lio/vertx/core/http/HttpClient;
2 11 4 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
vertx
body
public void example35(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some data"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
1: aload 1
ldc "some other data"
ldc "UTF-16"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
2: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 3: aload 2
bipush 123
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
ldc 245
invokeinterface io.vertx.core.buffer.Buffer.appendLong:(J)Lio/vertx/core/buffer/Buffer;
pop
4: aload 1
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/HttpClientRequest;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/HTTPExamples;
0 6 1 request Lio/vertx/core/http/HttpClientRequest;
3 6 2 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
request
public void example36(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some simple data"
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Ljava/lang/String;)V
1: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
ldc 12.34
invokeinterface io.vertx.core.buffer.Buffer.appendDouble:(D)Lio/vertx/core/buffer/Buffer;
ldc 432
invokeinterface io.vertx.core.buffer.Buffer.appendLong:(J)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 2: aload 1
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Lio/vertx/core/buffer/Buffer;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpClientRequest;
2 4 2 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
request
public void example37(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.headers:()Lio/vertx/core/MultiMap;
astore 2
start local 2 1: aload 2
ldc "content-type"
ldc "application/json"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
ldc "other-header"
ldc "foo"
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/MultiMap;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 request Lio/vertx/core/http/HttpClientRequest;
1 3 2 headers Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
request
public void example38(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "content-type"
ldc "application/json"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
ldc "other-header"
ldc "foo"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
request
public void example39(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
request
public void example40(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-data"
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Ljava/lang/String;)V
1: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
ldc 12.3
invokeinterface io.vertx.core.buffer.Buffer.appendFloat:(F)Lio/vertx/core/buffer/Buffer;
sipush 321
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 2: aload 1
aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Lio/vertx/core/buffer/Buffer;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 request Lio/vertx/core/http/HttpClientRequest;
2 4 2 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
request
public void example41(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setChunked:(Z)Lio/vertx/core/http/HttpClientRequest;
pop
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "this-is-chunk-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
bipush 10
if_icmplt 3
end local 2 6: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/HTTPExamples;
0 8 1 request Lio/vertx/core/http/HttpClientRequest;
2 6 2 i I
MethodParameters:
Name Flags
request
public void example42(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$30(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
astore 2
start local 2 1: aload 2
invokedynamic handle()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
examples/HTTPExamples.lambda$31(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.http.HttpClientRequest.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 client Lio/vertx/core/http/HttpClient;
1 3 2 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
client
public void statusCodeHandling(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$32(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 client Lio/vertx/core/http/HttpClient;
1 3 2 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
client
public void example43(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.post:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
astore 2
start local 2 1: aload 2
invokedynamic handle()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
examples/HTTPExamples.lambda$33(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClientRequest.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 client Lio/vertx/core/http/HttpClient;
1 3 2 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
client
public void example44(io.vertx.core.http.HttpClientRequest, io.vertx.core.file.AsyncFile);
descriptor: (Lio/vertx/core/http/HttpClientRequest;Lio/vertx/core/file/AsyncFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setChunked:(Z)Lio/vertx/core/http/HttpClientRequest;
pop
1: aload 2
aload 1
invokestatic io.vertx.core.streams.Pump.pump:(Lio/vertx/core/streams/ReadStream;Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/streams/Pump;
astore 3
start local 3 2: aload 2
aload 1
invokedynamic handle(Lio/vertx/core/http/HttpClientRequest;)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
examples/HTTPExamples.lambda$34(Lio/vertx/core/http/HttpClientRequest;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.file.AsyncFile.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/file/AsyncFile;
pop
3: aload 3
invokeinterface io.vertx.core.streams.Pump.start:()Lio/vertx/core/streams/Pump;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HTTPExamples;
0 5 1 request Lio/vertx/core/http/HttpClientRequest;
0 5 2 file Lio/vertx/core/file/AsyncFile;
2 5 3 pump Lio/vertx/core/streams/Pump;
MethodParameters:
Name Flags
request
file
public void example45(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$35(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void example46(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.headers:()Lio/vertx/core/MultiMap;
ldc "content-type"
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
pop
1: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.headers:()Lio/vertx/core/MultiMap;
ldc "content-lengh"
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 response Lio/vertx/core/http/HttpClientResponse;
MethodParameters:
Name Flags
response
public void example47(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$36(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void example48(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$38(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void example49(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$41(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void exampleFollowRedirect01(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$43(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.get:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
1: iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setFollowRedirects:(Z)Lio/vertx/core/http/HttpClientRequest;
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void exampleFollowRedirect02(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
1: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
2: bipush 32
invokevirtual io.vertx.core.http.HttpClientOptions.setMaxRedirects:(I)Lio/vertx/core/http/HttpClientOptions;
3: invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
astore 2
start local 2 4: aload 2
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$44(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.get:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
5: iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setFollowRedirects:(Z)Lio/vertx/core/http/HttpClientRequest;
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/HTTPExamples;
0 7 1 vertx Lio/vertx/core/Vertx;
4 7 2 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
private java.lang.String resolveURI(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/HTTPExamples;
0 1 1 base Ljava/lang/String;
0 1 2 uriRef Ljava/lang/String;
MethodParameters:
Name Flags
base
uriRef
public void exampleFollowRedirect03(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokedynamic apply(Lexamples/HTTPExamples;Lio/vertx/core/http/HttpClient;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
examples/HTTPExamples.lambda$45(Lio/vertx/core/http/HttpClient;Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (7)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.http.HttpClient.redirectHandler:(Ljava/util/function/Function;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void example50(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$46(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.put:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
astore 2
start local 2 1: aload 2
ldc "Expect"
ldc "100-Continue"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
2: aload 2
aload 2
invokedynamic handle(Lio/vertx/core/http/HttpClientRequest;)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
examples/HTTPExamples.lambda$47(Lio/vertx/core/http/HttpClientRequest;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpClientRequest.continueHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 client Lio/vertx/core/http/HttpClient;
1 4 2 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
client
public void example50_1(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$48(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 httpServer Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
httpServer
public void example50_2(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$51(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 httpServer Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
httpServer
public void example51(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$52(Lio/vertx/core/http/ServerWebSocket;)V (6)
(Lio/vertx/core/http/ServerWebSocket;)V
invokeinterface io.vertx.core.http.HttpServer.websocketHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void example52(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$53(Lio/vertx/core/http/ServerWebSocket;)V (6)
(Lio/vertx/core/http/ServerWebSocket;)V
invokeinterface io.vertx.core.http.HttpServer.websocketHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void exampleAsynchronousHandshake(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$54(Lio/vertx/core/http/ServerWebSocket;)V (6)
(Lio/vertx/core/http/ServerWebSocket;)V
invokeinterface io.vertx.core.http.HttpServer.websocketHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
private static void authenticate(io.vertx.core.http.ServerWebSocket, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>>);
descriptor: (Lio/vertx/core/http/ServerWebSocket;Lio/vertx/core/Handler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ws Lio/vertx/core/http/ServerWebSocket;
0 1 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;
Signature: (Lio/vertx/core/http/ServerWebSocket;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;)V
MethodParameters:
Name Flags
ws
handler
public void example53(io.vertx.core.http.HttpServer);
descriptor: (Lio/vertx/core/http/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$56(Lio/vertx/core/http/HttpServerRequest;)V (6)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 server Lio/vertx/core/http/HttpServer;
MethodParameters:
Name Flags
server
public void example54(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/some-uri"
invokedynamic handle()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
examples/HTTPExamples.lambda$57(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.webSocket:(Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public void example55(io.vertx.core.http.WebSocket);
descriptor: (Lio/vertx/core/http/WebSocket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
bipush 123
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
ldc 1.23
invokeinterface io.vertx.core.buffer.Buffer.appendFloat:(F)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.vertx.core.http.WebSocket.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocket;
pop
2: ldc "hello"
astore 3
start local 3 3: aload 1
aload 3
invokeinterface io.vertx.core.http.WebSocket.writeTextMessage:(Ljava/lang/String;)Lio/vertx/core/http/WebSocket;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/HTTPExamples;
0 5 1 websocket Lio/vertx/core/http/WebSocket;
1 5 2 buffer Lio/vertx/core/buffer/Buffer;
3 5 3 message Ljava/lang/String;
MethodParameters:
Name Flags
websocket
public void example56(io.vertx.core.http.WebSocket, io.vertx.core.buffer.Buffer, io.vertx.core.buffer.Buffer, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/http/WebSocket;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
iconst_0
invokestatic io.vertx.core.http.WebSocketFrame.binaryFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
astore 5
start local 5 1: aload 1
aload 5
invokeinterface io.vertx.core.http.WebSocket.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/http/WebSocket;
pop
2: aload 3
iconst_0
invokestatic io.vertx.core.http.WebSocketFrame.continuationFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
astore 6
start local 6 3: aload 1
aload 6
invokeinterface io.vertx.core.http.WebSocket.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/http/WebSocket;
pop
4: aload 3
iconst_1
invokestatic io.vertx.core.http.WebSocketFrame.continuationFrame:(Lio/vertx/core/buffer/Buffer;Z)Lio/vertx/core/http/WebSocketFrame;
astore 7
start local 7 5: aload 1
aload 7
invokeinterface io.vertx.core.http.WebSocket.writeFrame:(Lio/vertx/core/http/WebSocketFrame;)Lio/vertx/core/http/WebSocket;
pop
6: return
end local 7 end local 6 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 7 0 this Lexamples/HTTPExamples;
0 7 1 websocket Lio/vertx/core/http/WebSocket;
0 7 2 buffer1 Lio/vertx/core/buffer/Buffer;
0 7 3 buffer2 Lio/vertx/core/buffer/Buffer;
0 7 4 buffer3 Lio/vertx/core/buffer/Buffer;
1 7 5 frame1 Lio/vertx/core/http/WebSocketFrame;
3 7 6 frame2 Lio/vertx/core/http/WebSocketFrame;
5 7 7 frame3 Lio/vertx/core/http/WebSocketFrame;
MethodParameters:
Name Flags
websocket
buffer1
buffer2
buffer3
public void example56_1(io.vertx.core.http.WebSocket);
descriptor: (Lio/vertx/core/http/WebSocket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Geronimo!"
invokeinterface io.vertx.core.http.WebSocket.writeFinalTextFrame:(Ljava/lang/String;)Lio/vertx/core/http/WebSocket;
pop
1: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
bipush 12
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
ldc "foo"
invokeinterface io.vertx.core.buffer.Buffer.appendString:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 2: aload 1
aload 2
invokeinterface io.vertx.core.http.WebSocket.writeFinalBinaryFrame:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/WebSocket;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 websocket Lio/vertx/core/http/WebSocket;
2 4 2 buff Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
websocket
public void example57(io.vertx.core.http.WebSocket);
descriptor: (Lio/vertx/core/http/WebSocket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic handle()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
examples/HTTPExamples.lambda$58(Lio/vertx/core/http/WebSocketFrame;)V (6)
(Lio/vertx/core/http/WebSocketFrame;)V
invokeinterface io.vertx.core.http.WebSocket.frameHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/WebSocket;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 websocket Lio/vertx/core/http/WebSocket;
MethodParameters:
Name Flags
websocket
public void example58(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
1: new io.vertx.core.net.ProxyOptions
dup
invokespecial io.vertx.core.net.ProxyOptions.<init>:()V
getstatic io.vertx.core.net.ProxyType.HTTP:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyOptions.setType:(Lio/vertx/core/net/ProxyType;)Lio/vertx/core/net/ProxyOptions;
2: ldc "localhost"
invokevirtual io.vertx.core.net.ProxyOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
sipush 3128
invokevirtual io.vertx.core.net.ProxyOptions.setPort:(I)Lio/vertx/core/net/ProxyOptions;
3: ldc "username"
invokevirtual io.vertx.core.net.ProxyOptions.setUsername:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
ldc "secret"
invokevirtual io.vertx.core.net.ProxyOptions.setPassword:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
4: invokevirtual io.vertx.core.http.HttpClientOptions.setProxyOptions:(Lio/vertx/core/net/ProxyOptions;)Lio/vertx/core/http/HttpClientOptions;
5: astore 2
start local 2 6: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/HTTPExamples;
0 8 1 vertx Lio/vertx/core/Vertx;
6 8 2 options Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
public void example59(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
1: new io.vertx.core.net.ProxyOptions
dup
invokespecial io.vertx.core.net.ProxyOptions.<init>:()V
getstatic io.vertx.core.net.ProxyType.SOCKS5:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyOptions.setType:(Lio/vertx/core/net/ProxyType;)Lio/vertx/core/net/ProxyOptions;
2: ldc "localhost"
invokevirtual io.vertx.core.net.ProxyOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
sipush 1080
invokevirtual io.vertx.core.net.ProxyOptions.setPort:(I)Lio/vertx/core/net/ProxyOptions;
3: ldc "username"
invokevirtual io.vertx.core.net.ProxyOptions.setUsername:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
ldc "secret"
invokevirtual io.vertx.core.net.ProxyOptions.setPassword:(Ljava/lang/String;)Lio/vertx/core/net/ProxyOptions;
4: invokevirtual io.vertx.core.http.HttpClientOptions.setProxyOptions:(Lio/vertx/core/net/ProxyOptions;)Lio/vertx/core/http/HttpClientOptions;
5: astore 2
start local 2 6: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/HTTPExamples;
0 8 1 vertx Lio/vertx/core/Vertx;
6 8 2 options Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
public void example60(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new io.vertx.core.http.HttpClientOptions
dup
invokespecial io.vertx.core.http.HttpClientOptions.<init>:()V
1: new io.vertx.core.net.ProxyOptions
dup
invokespecial io.vertx.core.net.ProxyOptions.<init>:()V
getstatic io.vertx.core.net.ProxyType.HTTP:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyOptions.setType:(Lio/vertx/core/net/ProxyType;)Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.setProxyOptions:(Lio/vertx/core/net/ProxyOptions;)Lio/vertx/core/http/HttpClientOptions;
2: astore 2
start local 2 3: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
astore 3
start local 3 4: aload 3
ldc "ftp://ftp.gnu.org/gnu/"
invokedynamic handle()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
examples/HTTPExamples.lambda$59(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getAbs:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/HTTPExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
3 6 2 options Lio/vertx/core/http/HttpClientOptions;
4 6 3 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
vertx
public void serversharing(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.createHttpServer:()Lio/vertx/core/http/HttpServer;
aload 0
invokedynamic handle(Lexamples/HTTPExamples;)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
examples/HTTPExamples.lambda$60(Lio/vertx/core/http/HttpServerRequest;)V (7)
(Lio/vertx/core/http/HttpServerRequest;)V
invokeinterface io.vertx.core.http.HttpServer.requestHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServer;
1: sipush 8080
invokeinterface io.vertx.core.http.HttpServer.listen:(I)Lio/vertx/core/http/HttpServer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/HTTPExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void serversharingclient(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc 100
aload 1
invokedynamic handle(Lio/vertx/core/Vertx;)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
examples/HTTPExamples.lambda$61(Lio/vertx/core/Vertx;Ljava/lang/Long;)V (6)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setPeriodic:(JLio/vertx/core/Handler;)J
pop2
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void setSSLPerRequest(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new io.vertx.core.http.RequestOptions
dup
invokespecial io.vertx.core.http.RequestOptions.<init>:()V
1: ldc "localhost"
invokevirtual io.vertx.core.http.RequestOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
2: sipush 8080
invokevirtual io.vertx.core.http.RequestOptions.setPort:(I)Lio/vertx/core/http/RequestOptions;
3: ldc "/"
invokevirtual io.vertx.core.http.RequestOptions.setURI:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
4: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.http.RequestOptions.setSsl:(Ljava/lang/Boolean;)Lio/vertx/core/http/RequestOptions;
invokedynamic handle()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
examples/HTTPExamples.lambda$64(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
5: invokeinterface io.vertx.core.http.HttpClient.getNow:(Lio/vertx/core/http/RequestOptions;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lexamples/HTTPExamples;
0 7 1 client Lio/vertx/core/http/HttpClient;
MethodParameters:
Name Flags
client
public static void (io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
1: getstatic io.vertx.core.http.HttpHeaders.CONTENT_ENCODING:Ljava/lang/CharSequence;
getstatic io.vertx.core.http.HttpHeaders.IDENTITY:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpServerResponse;
2: ldc "/path/to/image.jpg"
invokeinterface io.vertx.core.http.HttpServerResponse.sendFile:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 request Lio/vertx/core/http/HttpServerRequest;
MethodParameters:
Name Flags
request
private static void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Server is now listening!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Failed to bind!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpServer;>;
private static void lambda$1(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$2(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.method:()Lio/vertx/core/http/HttpMethod;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$3(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "Hello world"
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$4(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "I have received a chunk of the body of length "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$5(io.vertx.core.buffer.Buffer, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "I have received a chunk of the body of length "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
2: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$6(io.vertx.core.buffer.Buffer, java.lang.Void);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Full body received, length = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$7(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Full body received, length = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 totalBuffer Lio/vertx/core/buffer/Buffer;
private static void lambda$8(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokeinterface io.vertx.core.http.HttpServerRequest.setExpectMultipart:(Z)Lio/vertx/core/http/HttpServerRequest;
pop
1: aload 0
aload 0
invokedynamic handle(Lio/vertx/core/http/HttpServerRequest;)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
examples/HTTPExamples.lambda$9(Lio/vertx/core/http/HttpServerRequest;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpServerRequest.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$10(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokeinterface io.vertx.core.http.HttpServerRequest.setExpectMultipart:(Z)Lio/vertx/core/http/HttpServerRequest;
pop
1: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$11(Lio/vertx/core/http/HttpServerFileUpload;)V (6)
(Lio/vertx/core/http/HttpServerFileUpload;)V
invokeinterface io.vertx.core.http.HttpServerRequest.uploadHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$12(io.vertx.core.http.HttpServerFileUpload);
descriptor: (Lio/vertx/core/http/HttpServerFileUpload;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$13(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpServerFileUpload.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerFileUpload;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 upload Lio/vertx/core/http/HttpServerFileUpload;
private static void lambda$14(io.vertx.core.http.HttpServerFileUpload);
descriptor: (Lio/vertx/core/http/HttpServerFileUpload;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new java.lang.StringBuilder
dup
ldc "myuploads_directory/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpServerFileUpload.filename:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerFileUpload.streamToFileSystem:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerFileUpload;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 upload Lio/vertx/core/http/HttpServerFileUpload;
private static void lambda$15(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.path:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: ldc "index.html"
astore 1
3: goto 6
StackMap locals: java.lang.String
StackMap stack:
4: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.path:()Ljava/lang/String;
ldc ".."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 6
5: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.path:()Ljava/lang/String;
astore 1
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
new java.lang.StringBuilder
dup
ldc "web/"
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.http.HttpServerResponse.sendFile:(Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
pop
end local 1 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 request Lio/vertx/core/http/HttpServerRequest;
1 7 1 file Ljava/lang/String;
private static void lambda$16(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
ldc "start"
invokeinterface io.vertx.core.http.HttpServerRequest.getParam:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 1
2: goto 4
StackMap locals: io.vertx.core.http.HttpServerRequest long
StackMap stack: java.lang.NumberFormatException
3: pop
4: StackMap locals:
StackMap stack:
ldc 9223372036854775807
lstore 3
start local 3 5: aload 0
ldc "end"
invokeinterface io.vertx.core.http.HttpServerRequest.getParam:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 3
6: goto 8
StackMap locals: io.vertx.core.http.HttpServerRequest long long
StackMap stack: java.lang.NumberFormatException
7: pop
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "web/mybigfile.txt"
lload 1
lload 3
invokeinterface io.vertx.core.http.HttpServerResponse.sendFile:(Ljava/lang/String;JJ)Lio/vertx/core/http/HttpServerResponse;
pop
end local 3 end local 1 9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 request Lio/vertx/core/http/HttpServerRequest;
1 9 1 offset J
5 9 3 end J
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
5 6 7 Class java.lang.NumberFormatException
private static void lambda$17(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
ldc "start"
invokeinterface io.vertx.core.http.HttpServerRequest.getParam:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
lstore 1
2: goto 4
StackMap locals: io.vertx.core.http.HttpServerRequest long
StackMap stack: java.lang.NumberFormatException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "web/mybigfile.txt"
lload 1
invokeinterface io.vertx.core.http.HttpServerResponse.sendFile:(Ljava/lang/String;J)Lio/vertx/core/http/HttpServerResponse;
pop
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Lio/vertx/core/http/HttpServerRequest;
1 5 1 offset J
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
private static void lambda$18(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
astore 1
start local 1 1: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.method:()Lio/vertx/core/http/HttpMethod;
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
if_acmpne 6
2: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
pop
3: aload 0
aload 1
invokestatic io.vertx.core.streams.Pump.pump:(Lio/vertx/core/streams/ReadStream;Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/streams/Pump;
invokeinterface io.vertx.core.streams.Pump.start:()Lio/vertx/core/streams/Pump;
pop
4: aload 0
aload 1
invokedynamic handle(Lio/vertx/core/http/HttpServerResponse;)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
examples/HTTPExamples.lambda$19(Lio/vertx/core/http/HttpServerResponse;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpServerRequest.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
5: goto 7
6: StackMap locals: io.vertx.core.http.HttpServerResponse
StackMap stack:
aload 1
sipush 400
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 request Lio/vertx/core/http/HttpServerRequest;
1 7 1 response Lio/vertx/core/http/HttpServerResponse;
private static void lambda$20(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$21(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$22(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$23(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$24(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$25(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$26(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$27(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$28(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$29(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$30(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$31(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
invokevirtual java.lang.Throwable.printStackTrace:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Ljava/lang/Throwable;
private static void lambda$32(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpne 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Everything fine"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 500
if_icmpne 6
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Unexpected behavior on the server side"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$33(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$34(io.vertx.core.http.HttpClientRequest, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpClientRequest;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static void lambda$35(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Status code is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Status message is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$36(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$37(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpClientResponse.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$38(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 1
start local 1 1: aload 0
aload 1
invokedynamic handle(Lio/vertx/core/buffer/Buffer;)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
examples/HTTPExamples.lambda$39(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpClientResponse.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
2: aload 0
aload 1
invokedynamic handle(Lio/vertx/core/buffer/Buffer;)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
examples/HTTPExamples.lambda$40(Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpClientResponse.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
end local 1 3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 response Lio/vertx/core/http/HttpClientResponse;
1 3 1 totalBuffer Lio/vertx/core/buffer/Buffer;
private static void lambda$41(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$42(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpClientResponse.bodyHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$43(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$44(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private io.vertx.core.Future lambda$45(io.vertx.core.http.HttpClient, io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClient;Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 301
if_icmpne 3
aload 2
ldc "Location"
invokeinterface io.vertx.core.http.HttpClientResponse.getHeader:(Ljava/lang/String;)Ljava/lang/String;
ifnull 3
1: aload 0
aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.request:()Lio/vertx/core/http/HttpClientRequest;
invokeinterface io.vertx.core.http.HttpClientRequest.absoluteURI:()Ljava/lang/String;
aload 2
ldc "Location"
invokeinterface io.vertx.core.http.HttpClientResponse.getHeader:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual examples.HTTPExamples.resolveURI:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 1
aload 3
invokeinterface io.vertx.core.http.HttpClient.getAbs:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 3 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 2 response Lio/vertx/core/http/HttpClientResponse;
2 3 3 absoluteURI Ljava/lang/String;
private static void lambda$46(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$47(io.vertx.core.http.HttpClientRequest, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpClientRequest;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
ldc "Some data"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
1: aload 0
ldc "Some more data"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
2: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 v Ljava/lang/Void;
private static void lambda$48(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Expect"
invokeinterface io.vertx.core.http.HttpServerRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
ldc "100-Continue"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.writeContinue:()Lio/vertx/core/http/HttpServerResponse;
pop
2: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$49(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpServerRequest.bodyHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
3: aload 0
aload 0
invokedynamic handle(Lio/vertx/core/http/HttpServerRequest;)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
examples/HTTPExamples.lambda$50(Lio/vertx/core/http/HttpServerRequest;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.http.HttpServerRequest.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpServerRequest;
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$51(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "Expect"
invokeinterface io.vertx.core.http.HttpServerRequest.getHeader:(Ljava/lang/String;)Ljava/lang/String;
ldc "100-Continue"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
1: iconst_1
istore 1
start local 1 2: iload 1
ifeq 8
3: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
4: sipush 405
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
5: ldc "Connection"
ldc "close"
invokeinterface io.vertx.core.http.HttpServerResponse.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpServerResponse;
6: invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
9: sipush 405
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
10: invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 request Lio/vertx/core/http/HttpServerRequest;
2 11 1 rejectAndClose Z
private static void lambda$52(io.vertx.core.http.ServerWebSocket);
descriptor: (Lio/vertx/core/http/ServerWebSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Connected!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 websocket Lio/vertx/core/http/ServerWebSocket;
private static void lambda$53(io.vertx.core.http.ServerWebSocket);
descriptor: (Lio/vertx/core/http/ServerWebSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.ServerWebSocket.path:()Ljava/lang/String;
ldc "/myapi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokeinterface io.vertx.core.http.ServerWebSocket.reject:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 websocket Lio/vertx/core/http/ServerWebSocket;
private static void lambda$54(io.vertx.core.http.ServerWebSocket);
descriptor: (Lio/vertx/core/http/ServerWebSocket;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 1
start local 1 1: aload 0
aload 1
invokeinterface io.vertx.core.http.ServerWebSocket.setHandshake:(Lio/vertx/core/Promise;)V
2: aload 0
aload 1
invokedynamic handle(Lio/vertx/core/Promise;)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
examples/HTTPExamples.lambda$55(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic examples.HTTPExamples.authenticate:(Lio/vertx/core/http/ServerWebSocket;Lio/vertx/core/Handler;)V
end local 1 3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 websocket Lio/vertx/core/http/ServerWebSocket;
1 3 1 promise Lio/vertx/core/Promise<Ljava/lang/Integer;>;
private static void lambda$56(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.path:()Ljava/lang/String;
ldc "/myapi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.upgrade:()Lio/vertx/core/http/ServerWebSocket;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
sipush 400
invokeinterface io.vertx.core.http.HttpServerResponse.setStatusCode:(I)Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$57(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.WebSocket
pop
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Connected!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 res Lio/vertx/core/AsyncResult<Lio/vertx/core/http/WebSocket;>;
private static void lambda$58(io.vertx.core.http.WebSocketFrame);
descriptor: (Lio/vertx/core/http/WebSocketFrame;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Received a frame of size!"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 frame Lio/vertx/core/http/WebSocketFrame;
private static void lambda$59(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private void lambda$60(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
new java.lang.StringBuilder
dup
ldc "Hello from server "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpServerResponse.end:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpServerRequest;
private static void lambda$61(io.vertx.core.Vertx, java.lang.Long);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/Long;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
sipush 8080
ldc "localhost"
ldc "/"
invokedynamic handle()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
examples/HTTPExamples.lambda$62(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClient.getNow:(ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClient;
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 l Ljava/lang/Long;
private static void lambda$64(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received response with status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$9(io.vertx.core.http.HttpServerRequest, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpServerRequest;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.formAttributes:()Lio/vertx/core/MultiMap;
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$11(io.vertx.core.http.HttpServerFileUpload);
descriptor: (Lio/vertx/core/http/HttpServerFileUpload;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Got a file upload "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.http.HttpServerFileUpload.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 upload Lio/vertx/core/http/HttpServerFileUpload;
private static void lambda$13(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received a chunk of the upload of length "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 chunk Lio/vertx/core/buffer/Buffer;
private static void lambda$19(io.vertx.core.http.HttpServerResponse, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpServerResponse;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static void lambda$37(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received a part of the response body: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$39(io.vertx.core.buffer.Buffer, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Received a part of the response body: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
2: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$40(io.vertx.core.buffer.Buffer, java.lang.Void);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Total response body length is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$42(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Total response body length is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 totalBuffer Lio/vertx/core/buffer/Buffer;
private static void lambda$49(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 body Lio/vertx/core/buffer/Buffer;
private static void lambda$50(io.vertx.core.http.HttpServerRequest, java.lang.Void);
descriptor: (Lio/vertx/core/http/HttpServerRequest;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
invokeinterface io.vertx.core.http.HttpServerResponse.end:()V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$55(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 2
bipush 101
goto 3
StackMap locals:
StackMap stack: io.vertx.core.Promise
2: sipush 401
StackMap locals: io.vertx.core.Promise io.vertx.core.AsyncResult
StackMap stack: io.vertx.core.Promise int
3: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 7 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;
private static void lambda$62(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic handle()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
examples/HTTPExamples.lambda$63(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokeinterface io.vertx.core.http.HttpClientResponse.bodyHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 resp Lio/vertx/core/http/HttpClientResponse;
private static void lambda$63(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
ldc "ISO-8859-1"
invokeinterface io.vertx.core.buffer.Buffer.toString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 body Lio/vertx/core/buffer/Buffer;
}
SourceFile: "HTTPExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles