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/Future;
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/Future;
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/Future;
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 exampleHandlingCookies(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
ldc "mycookie"
invokeinterface io.vertx.core.http.HttpServerRequest.getCookie:(Ljava/lang/String;)Lio/vertx/core/http/Cookie;
astore 2
start local 2 1: aload 2
invokeinterface io.vertx.core.http.Cookie.getValue:()Ljava/lang/String;
pop
2: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.response:()Lio/vertx/core/http/HttpServerResponse;
ldc "othercookie"
ldc "somevalue"
invokestatic io.vertx.core.http.Cookie.cookie:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/Cookie;
invokeinterface io.vertx.core.http.HttpServerResponse.addCookie:(Lio/vertx/core/http/Cookie;)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 someCookie Lio/vertx/core/http/Cookie;
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:(Ljava/lang/Object;)Lio/vertx/core/Future;
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/Future;
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/Future;
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/Future;
pop
2: aload 2
invokeinterface io.vertx.core.http.HttpServerResponse.end:()Lio/vertx/core/Future;
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 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;)Lio/vertx/core/Future;
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 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/Future;
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/Future;
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/Future;
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/Future;
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 sendHttpServerResponse(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$19(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/Future;
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.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
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$20(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;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 example31(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
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$21(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)V
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 example32(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, 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: ldc "content-type"
ldc "application/json"
invokestatic io.vertx.core.http.HttpHeaders.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;
astore 3
start local 3 2: aload 2
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
aload 3
invokedynamic handle(Lio/vertx/core/MultiMap;)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/MultiMap;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)V
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 client Lio/vertx/core/http/HttpClient;
2 4 3 headers Lio/vertx/core/MultiMap;
MethodParameters:
Name Flags
vertx
public void example33(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;
1: ldc "other-header"
ldc "foo"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
2: return
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;
MethodParameters:
Name Flags
request
public void sendRequest01(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
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$25(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;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 sendRequest02(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
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$27(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;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 sendRequest03(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 "Hello World"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
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/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/HTTPExamples;
0 2 1 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
request
public void sendRequest04(io.vertx.core.http.HttpClientRequest, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/http/HttpClientRequest;Lio/vertx/core/streams/ReadStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
1: getstatic io.vertx.core.http.HttpHeaders.CONTENT_LENGTH:Ljava/lang/CharSequence;
ldc "1000"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpClientRequest;
2: 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$30(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/streams/ReadStream;Lio/vertx/core/Handler;)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;
0 4 2 stream Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
Signature: (Lio/vertx/core/http/HttpClientRequest;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;)V
MethodParameters:
Name Flags
request
stream
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=4, 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
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
2: aload 2
invokedynamic handle(Ljava/lang/String;)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/String;Lio/vertx/core/http/HttpClientRequest;)V (6)
(Lio/vertx/core/http/HttpClientRequest;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: aload 3
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
4: aload 2
invokedynamic handle(Ljava/lang/String;)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(Ljava/lang/String;Lio/vertx/core/http/HttpClientRequest;)V (6)
(Lio/vertx/core/http/HttpClientRequest;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
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;
0 6 2 body Ljava/lang/String;
1 6 3 client Lio/vertx/core/http/HttpClient;
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/Future;
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/Future;
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:(Ljava/lang/Object;)Lio/vertx/core/Future;
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;)Lio/vertx/core/Future;
pop
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;)Lio/vertx/core/Future;
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/HttpClientRequest;
2 4 2 buffer Lio/vertx/core/buffer/Buffer;
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:()Lio/vertx/core/Future;
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 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;)Lio/vertx/core/Future;
pop
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;)Lio/vertx/core/Future;
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/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/Future;
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:()Lio/vertx/core/Future;
pop
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 useRequestAsStream(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, 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: aload 1
ldc "chunk-1"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
2: aload 1
ldc "chunk-2"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
3: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.end:()Lio/vertx/core/Future;
pop
4: return
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;
MethodParameters:
Name Flags
request
public void setRequestExceptionHandler(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)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$35(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
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 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=3, 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
invokeinterface io.vertx.core.file.AsyncFile.pipeTo:(Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/Future;
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;
0 3 2 file Lio/vertx/core/file/AsyncFile;
MethodParameters:
Name Flags
request
file
public void example45(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)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$36(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
1: aload 1
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$37(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.response:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
3: invokeinterface io.vertx.core.http.HttpClientRequest.end:()Lio/vertx/core/Future;
pop
4: return
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;
MethodParameters:
Name Flags
request
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
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$38(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;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 example48(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)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$41(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(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 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
request
public void example49(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)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$44(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(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 request Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
request
public void exampleClientComposition01(examples.HTTPExamples$HttpClient2);
descriptor: (Lexamples/HTTPExamples$HttpClient2;)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 examples.HTTPExamples$HttpClient2.get:(Ljava/lang/String;)Lio/vertx/core/Future;
astore 2
start local 2 1: ldc 100
invokestatic java.lang.Thread.sleep:(J)V
2: 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$46(Lio/vertx/core/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
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 Lexamples/HTTPExamples$HttpClient2;
1 4 2 get Lio/vertx/core/Future<Lio/vertx/core/http/HttpClientResponse;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
client
public void exampleClientComposition03(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
1: getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
2: invokedynamic apply()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$48(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: astore 2
start local 2 4: 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$51(Lio/vertx/core/json/JsonObject;)V (6)
(Lio/vertx/core/json/JsonObject;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
5: 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(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.Future.onFailure:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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 client Lio/vertx/core/http/HttpClient;
4 7 2 future Lio/vertx/core/Future<Lio/vertx/core/json/JsonObject;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
client
public void exampleClientComposition04(io.vertx.core.http.HttpClient, io.vertx.core.file.FileSystem);
descriptor: (Lio/vertx/core/http/HttpClient;Lio/vertx/core/file/FileSystem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
1: getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
2: aload 2
invokedynamic apply(Lio/vertx/core/file/FileSystem;)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$53(Lio/vertx/core/file/FileSystem;Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
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;
0 4 2 fileSystem Lio/vertx/core/file/FileSystem;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
client
fileSystem
public void exampleFollowRedirect01(io.vertx.core.http.HttpClient);
descriptor: (Lio/vertx/core/http/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
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$57(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;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 exampleFollowRedirect02(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
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
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$59(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)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;
4 6 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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic apply(Lexamples/HTTPExamples;)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$61(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=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
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$62(Lio/vertx/core/http/HttpClientRequest;)V (6)
(Lio/vertx/core/http/HttpClientRequest;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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 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$65(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$68(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 clientTunnel(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
getstatic io.vertx.core.http.HttpMethod.CONNECT:Lio/vertx/core/http/HttpMethod;
ldc "some-uri"
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;)Lio/vertx/core/Future;
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$69(Lio/vertx/core/http/HttpClientRequest;)V (6)
(Lio/vertx/core/http/HttpClientRequest;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
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 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$71(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$72(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$73(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.MultiMap, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>>);
descriptor: (Lio/vertx/core/MultiMap;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 headers Lio/vertx/core/MultiMap;
0 1 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;
Signature: (Lio/vertx/core/MultiMap;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Boolean;>;>;)V
MethodParameters:
Name Flags
headers
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$75(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$77(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/Future;
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/Future;
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/Future;
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/Future;
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/Future;
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/Future;
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/Future;
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$78(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=4, 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
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
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$79(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/Handler;)V
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 example61(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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
1: iconst_1
invokevirtual io.vertx.core.http.HttpServerOptions.setUseProxyProtocol:(Z)Lio/vertx/core/http/HttpServerOptions;
2: astore 2
start local 2 3: aload 1
aload 2
invokeinterface io.vertx.core.Vertx.createHttpServer:(Lio/vertx/core/http/HttpServerOptions;)Lio/vertx/core/http/HttpServer;
astore 3
start local 3 4: aload 3
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$81(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
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/HttpServerOptions;
4 6 3 server Lio/vertx/core/http/HttpServer;
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$82(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/Future;
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$83(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
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.http.RequestOptions.setPort:(Ljava/lang/Integer;)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$87(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
5: invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/RequestOptions;Lio/vertx/core/Handler;)V
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/Future;
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;)Lio/vertx/core/Future;
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$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/Future;
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/Future;
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/Future;
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/Future;
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 5
2: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpServerResponse.setChunked:(Z)Lio/vertx/core/http/HttpServerResponse;
pop
3: aload 0
aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.pipeTo:(Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/Future;
pop
4: goto 6
5: 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:()Lio/vertx/core/Future;
pop
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 request Lio/vertx/core/http/HttpServerRequest;
1 6 1 response Lio/vertx/core/http/HttpServerResponse;
private static void lambda$19(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 4
2: aload 1
aload 0
invokeinterface io.vertx.core.http.HttpServerResponse.send:(Lio/vertx/core/streams/ReadStream;)Lio/vertx/core/Future;
pop
3: goto 5
4: 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:()Lio/vertx/core/Future;
pop
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Lio/vertx/core/http/HttpServerRequest;
1 5 1 response Lio/vertx/core/http/HttpServerResponse;
private static void lambda$20(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
private static void lambda$21(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$22(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$23(io.vertx.core.MultiMap, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/MultiMap;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
2: aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 2
start local 2 3: aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.headers:()Lio/vertx/core/MultiMap;
aload 0
invokeinterface io.vertx.core.MultiMap.addAll:(Lio/vertx/core/MultiMap;)Lio/vertx/core/MultiMap;
pop
4: 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$24(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
3 5 2 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$25(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$26(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$27(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, 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.HttpClientRequest
astore 1
start local 1 2: aload 1
ldc "Hello World"
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/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Ljava/lang/String;Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$29(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: goto 5
4: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Something went wrong "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
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
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$30(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: goto 5
4: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Something went wrong "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
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
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$31(java.lang.String, io.vertx.core.http.HttpClientRequest);
descriptor: (Ljava/lang/String;Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.response:()Lio/vertx/core/Future;
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.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 1
ldc "content-length"
ldc "1000"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
2: aload 1
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
3: aload 1
aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
4: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.end:()Lio/vertx/core/Future;
pop
5: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$33(java.lang.String, io.vertx.core.http.HttpClientRequest);
descriptor: (Ljava/lang/String;Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 1
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$34(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.response:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
2: ldc "content-length"
ldc "1000"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
3: ldc "content-type"
ldc "text/plain"
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
4: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
5: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$35(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 "Write failure "
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: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 err Ljava/lang/Throwable;
private static void lambda$36(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
3: 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 1
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
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 4 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$37(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
3: 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 1
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
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 4 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$38(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$39(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$41(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 2
start local 2 3: 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$42(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
4: 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$43(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 2 end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 5 1 response Lio/vertx/core/http/HttpClientResponse;
3 5 2 totalBuffer Lio/vertx/core/buffer/Buffer;
private static void lambda$44(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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$45(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientResponse.body:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
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=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$47(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientResponse.body:(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 io.vertx.core.Future lambda$48(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: invokedynamic apply()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$49(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$51(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)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 json result "
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 json Lio/vertx/core/json/JsonObject;
private static void lambda$52(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 "Something went wrong "
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: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 err Ljava/lang/Throwable;
private static io.vertx.core.Future lambda$53(io.vertx.core.file.FileSystem, io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/file/FileSystem;Lio/vertx/core/http/HttpClientRequest;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
1: invokeinterface io.vertx.core.http.HttpClientRequest.send:()Lio/vertx/core/Future;
2: aload 0
invokedynamic apply(Lio/vertx/core/file/FileSystem;)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$54(Lio/vertx/core/file/FileSystem;Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 request Lio/vertx/core/http/HttpClientRequest;
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=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setFollowRedirects:(Z)Lio/vertx/core/http/HttpClientRequest;
pop
3: 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/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 4 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$59(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: aload 1
iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setFollowRedirects:(Z)Lio/vertx/core/http/HttpClientRequest;
pop
3: 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$60(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 4 1 request Lio/vertx/core/http/HttpClientRequest;
private io.vertx.core.Future lambda$61(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 301
if_icmpne 3
aload 1
ldc "Location"
invokeinterface io.vertx.core.http.HttpClientResponse.getHeader:(Ljava/lang/String;)Ljava/lang/String;
ifnull 3
1: aload 0
aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.request:()Lio/vertx/core/http/HttpClientRequest;
invokeinterface io.vertx.core.http.HttpClientRequest.absoluteURI:()Ljava/lang/String;
aload 1
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 2
start local 2 2: new io.vertx.core.http.RequestOptions
dup
invokespecial io.vertx.core.http.RequestOptions.<init>:()V
aload 2
invokevirtual io.vertx.core.http.RequestOptions.setAbsoluteURI:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 2 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/HTTPExamples;
0 4 1 response Lio/vertx/core/http/HttpClientResponse;
2 3 2 absoluteURI Ljava/lang/String;
private static void lambda$62(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.response:()Lio/vertx/core/Future;
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/http/HttpClientResponse;)V (6)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 0
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 0
aload 0
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$64(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: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.sendHead:()Lio/vertx/core/Future;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$65(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$66(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$67(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$68(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:()Lio/vertx/core/Future;
pop
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:()Lio/vertx/core/Future;
pop
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$69(io.vertx.core.http.HttpClientRequest);
descriptor: (Lio/vertx/core/http/HttpClientRequest;)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$70(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.connect:(Lio/vertx/core/Handler;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$71(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$72(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$73(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.Promise.future:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.http.ServerWebSocket.setHandshake:(Lio/vertx/core/Future;)Lio/vertx/core/Future;
pop
2: aload 0
invokeinterface io.vertx.core.http.ServerWebSocket.headers:()Lio/vertx/core/MultiMap;
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$74(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokestatic examples.HTTPExamples.authenticate:(Lio/vertx/core/MultiMap;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$75(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.path:()Ljava/lang/String;
ldc "/myapi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.toWebSocket:()Lio/vertx/core/Future;
astore 1
start local 1 2: 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$76(Lio/vertx/core/http/ServerWebSocket;)V (6)
(Lio/vertx/core/http/ServerWebSocket;)V
invokeinterface io.vertx.core.Future.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 1 3: goto 5
4: 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:()Lio/vertx/core/Future;
pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 request Lio/vertx/core/http/HttpServerRequest;
2 3 1 fut Lio/vertx/core/Future<Lio/vertx/core/http/ServerWebSocket;>;
private static void lambda$77(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$78(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$79(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$80(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$81(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: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.remoteAddress:()Lio/vertx/core/net/SocketAddress;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokeinterface io.vertx.core.http.HttpServerRequest.localAddress:()Lio/vertx/core/net/SocketAddress;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 request Lio/vertx/core/http/HttpServerRequest;
private void lambda$82(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;)Lio/vertx/core/Future;
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;
private static void lambda$83(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=6, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Vertx.createHttpClient:()Lio/vertx/core/http/HttpClient;
getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
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$84(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/HttpMethod;ILjava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 l Ljava/lang/Long;
private static void lambda$87(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$88(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
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$22(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$24(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 1: 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 1
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
end local 1 2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
1 2 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$26(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: goto 5
4: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Something went wrong "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
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
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$28(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: goto 5
4: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Something went wrong "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
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
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
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=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.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$39(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 1: 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$40(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
end local 1 2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
1 2 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$42(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$43(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$45(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.buffer.Buffer
astore 1
start local 1 2: 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 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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;
2 3 1 body Lio/vertx/core/buffer/Buffer;
private static void lambda$47(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;
private static io.vertx.core.Future lambda$49(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
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 6
1: aload 0
getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.http.HttpClientResponse.getHeader:(Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "application/json"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
3: invokeinterface io.vertx.core.http.HttpClientResponse.body:()Lio/vertx/core/Future;
4: invokedynamic apply()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$50(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/json/JsonObject; (6)
(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
5: areturn
6: StackMap locals:
StackMap stack:
ldc "Incorrect HTTP response"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 response Lio/vertx/core/http/HttpClientResponse;
private static io.vertx.core.Future lambda$54(io.vertx.core.file.FileSystem, io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/file/FileSystem;Lio/vertx/core/http/HttpClientResponse;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpne 7
1: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.pipe:()Lio/vertx/core/streams/Pipe;
astore 2
start local 2 2: aload 0
3: ldc "/some/large/file"
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
iconst_1
invokevirtual io.vertx.core.file.OpenOptions.setWrite:(Z)Lio/vertx/core/file/OpenOptions;
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;)Lio/vertx/core/Future;
4: aload 2
invokedynamic handle(Lio/vertx/core/streams/Pipe;)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/streams/Pipe;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.Future.onFailure:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
5: aload 2
invokedynamic apply(Lio/vertx/core/streams/Pipe;)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$56(Lio/vertx/core/streams/Pipe;Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future; (6)
(Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
6: areturn
end local 2 7: StackMap locals:
StackMap stack:
ldc "Incorrect HTTP response"
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 8 1 response Lio/vertx/core/http/HttpClientResponse;
2 7 2 pipe Lio/vertx/core/streams/Pipe<Lio/vertx/core/buffer/Buffer;>;
private static void lambda$58(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$60(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$63(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$64(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/Future;
pop
1: aload 0
ldc "Some more data"
invokeinterface io.vertx.core.http.HttpClientRequest.write:(Ljava/lang/String;)Lio/vertx/core/Future;
pop
2: aload 0
invokeinterface io.vertx.core.http.HttpClientRequest.end:()Lio/vertx/core/Future;
pop
3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 v Ljava/lang/Void;
private static void lambda$66(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$67(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:()Lio/vertx/core/Future;
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 v Ljava/lang/Void;
private static void lambda$70(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 4
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmpne 4
3: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.netSocket:()Lio/vertx/core/net/NetSocket;
pop
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 4 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$74(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$76(io.vertx.core.http.ServerWebSocket);
descriptor: (Lio/vertx/core/http/ServerWebSocket;)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 ws Lio/vertx/core/http/ServerWebSocket;
private static void lambda$80(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$84(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 1
start local 1 2: 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$85(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 3 1 request Lio/vertx/core/http/HttpClientRequest;
private static void lambda$88(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, 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.HttpClientResponse
astore 1
start local 1 2: 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 1
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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 response Lio/vertx/core/http/HttpClientResponse;
private static void lambda$40(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 io.vertx.core.json.JsonObject lambda$50(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/json/JsonObject;
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.buffer.Buffer.toJsonObject:()Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Lio/vertx/core/buffer/Buffer;
private static void lambda$55(io.vertx.core.streams.Pipe, java.lang.Throwable);
descriptor: (Lio/vertx/core/streams/Pipe;Ljava/lang/Throwable;)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.streams.Pipe.close:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 err Ljava/lang/Throwable;
private static io.vertx.core.Future lambda$56(io.vertx.core.streams.Pipe, io.vertx.core.file.AsyncFile);
descriptor: (Lio/vertx/core/streams/Pipe;Lio/vertx/core/file/AsyncFile;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.streams.Pipe.to:(Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 file Lio/vertx/core/file/AsyncFile;
private static void lambda$85(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)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.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 1
start local 1 2: 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$86(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
end local 1 3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ar2 Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 3 1 resp Lio/vertx/core/http/HttpClientResponse;
private static void lambda$86(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"
NestMembers:
examples.HTTPExamples$HttpClient2
InnerClasses:
private abstract HttpClient2 = examples.HTTPExamples$HttpClient2 of examples.HTTPExamples
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles