public final class io.vertx.ext.auth.impl.http.SimpleHttpClient
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.ext.auth.impl.http.SimpleHttpClient
super_class: java.lang.Object
{
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.http.HttpClient client;
descriptor: Lio/vertx/core/http/HttpClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String userAgent;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.Vertx, java.lang.String, io.vertx.core.http.HttpClientOptions);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;Lio/vertx/core/http/HttpClientOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
checkcast io.vertx.core.impl.VertxInternal
putfield io.vertx.ext.auth.impl.http.SimpleHttpClient.vertx:Lio/vertx/core/impl/VertxInternal;
2: aload 0
aload 1
aload 3
invokeinterface io.vertx.core.Vertx.createHttpClient:(Lio/vertx/core/http/HttpClientOptions;)Lio/vertx/core/http/HttpClient;
putfield io.vertx.ext.auth.impl.http.SimpleHttpClient.client:Lio/vertx/core/http/HttpClient;
3: aload 0
aload 2
putfield io.vertx.ext.auth.impl.http.SimpleHttpClient.userAgent:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 userAgent Ljava/lang/String;
0 5 3 options Lio/vertx/core/http/HttpClientOptions;
MethodParameters:
Name Flags
vertx
userAgent
options
public io.vertx.core.Future<io.vertx.ext.auth.impl.http.SimpleHttpResponse> fetch(io.vertx.core.http.HttpMethod, java.lang.String, io.vertx.core.json.JsonObject, io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.vertx.ext.auth.impl.http.SimpleHttpClient.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 5
start local 5 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
ifne 4
2: StackMap locals: io.vertx.core.Promise
StackMap stack:
aload 5
ldc "Invalid url"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
3: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
4: StackMap locals:
StackMap stack:
new io.vertx.core.http.RequestOptions
dup
invokespecial io.vertx.core.http.RequestOptions.<init>:()V
5: aload 1
invokevirtual io.vertx.core.http.RequestOptions.setMethod:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/core/http/RequestOptions;
6: aload 2
invokevirtual io.vertx.core.http.RequestOptions.setAbsoluteURI:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
7: astore 6
start local 6 8: aload 0
getfield io.vertx.ext.auth.impl.http.SimpleHttpClient.userAgent:Ljava/lang/String;
ifnull 10
9: aload 6
ldc "User-Agent"
aload 0
getfield io.vertx.ext.auth.impl.http.SimpleHttpClient.userAgent:Ljava/lang/String;
invokevirtual io.vertx.core.http.RequestOptions.addHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
pop
10: StackMap locals: io.vertx.core.http.RequestOptions
StackMap stack:
aload 3
ifnull 15
11: aload 3
invokevirtual io.vertx.core.json.JsonObject.iterator:()Ljava/util/Iterator;
astore 8
goto 14
StackMap locals: io.vertx.ext.auth.impl.http.SimpleHttpClient io.vertx.core.http.HttpMethod java.lang.String io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer io.vertx.core.Promise io.vertx.core.http.RequestOptions top java.util.Iterator
StackMap stack:
12: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 13: aload 6
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.vertx.core.http.RequestOptions.addHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
pop
end local 7 14: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: StackMap locals: io.vertx.ext.auth.impl.http.SimpleHttpClient io.vertx.core.http.HttpMethod java.lang.String io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer io.vertx.core.Promise io.vertx.core.http.RequestOptions
StackMap stack:
aload 1
getstatic io.vertx.core.http.HttpMethod.POST:Lio/vertx/core/http/HttpMethod;
if_acmpeq 17
aload 1
getstatic io.vertx.core.http.HttpMethod.PATCH:Lio/vertx/core/http/HttpMethod;
if_acmpeq 17
aload 1
getstatic io.vertx.core.http.HttpMethod.PUT:Lio/vertx/core/http/HttpMethod;
if_acmpeq 17
16: aconst_null
astore 4
17: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 4
aload 5
invokevirtual io.vertx.ext.auth.impl.http.SimpleHttpClient.makeRequest:(Lio/vertx/core/http/RequestOptions;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
18: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
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 19 0 this Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
0 19 1 method Lio/vertx/core/http/HttpMethod;
0 19 2 url Ljava/lang/String;
0 19 3 headers Lio/vertx/core/json/JsonObject;
0 19 4 payload Lio/vertx/core/buffer/Buffer;
1 19 5 promise Lio/vertx/core/Promise<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;
8 19 6 options Lio/vertx/core/http/RequestOptions;
13 14 7 kv Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;
MethodParameters:
Name Flags
method
url
headers
payload
public io.vertx.ext.auth.impl.http.SimpleHttpClient fetch(io.vertx.core.http.HttpMethod, java.lang.String, io.vertx.core.json.JsonObject, io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.impl.http.SimpleHttpResponse>>);
descriptor: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual io.vertx.ext.auth.impl.http.SimpleHttpClient.fetch:(Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
aload 5
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 0
areturn
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 2 0 this Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
0 2 1 method Lio/vertx/core/http/HttpMethod;
0 2 2 url Ljava/lang/String;
0 2 3 headers Lio/vertx/core/json/JsonObject;
0 2 4 payload Lio/vertx/core/buffer/Buffer;
0 2 5 callback Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;>;
Signature: (Lio/vertx/core/http/HttpMethod;Ljava/lang/String;Lio/vertx/core/json/JsonObject;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;>;)Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
MethodParameters:
Name Flags
method
url
headers
payload
callback
public static io.vertx.core.buffer.Buffer jsonToQuery(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/buffer/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 1
start local 1 1: aload 0
invokevirtual io.vertx.core.json.JsonObject.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 1
invokeinterface io.vertx.core.buffer.Buffer.length:()I
ifeq 5
4: aload 1
bipush 38
invokeinterface io.vertx.core.buffer.Buffer.appendByte:(B)Lio/vertx/core/buffer/Buffer;
pop
5: StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokeinterface io.vertx.core.buffer.Buffer.appendString:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
pop
6: aload 1
bipush 61
invokeinterface io.vertx.core.buffer.Buffer.appendByte:(B)Lio/vertx/core/buffer/Buffer;
pop
7: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 1
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLEncoder.encode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokeinterface io.vertx.core.buffer.Buffer.appendString:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
pop
end local 4 end local 2 10: StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: goto 14
StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.buffer.Buffer
StackMap stack: java.io.UnsupportedEncodingException
12: astore 2
start local 2 13: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 json Lio/vertx/core/json/JsonObject;
1 15 1 buffer Lio/vertx/core/buffer/Buffer;
3 10 2 kv Ljava/util/Map$Entry<Ljava/lang/String;*>;
8 10 4 v Ljava/lang/Object;
13 14 2 e Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
1 11 12 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
json
public static io.vertx.core.json.JsonObject queryToJson(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/json/JsonObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=12, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 3: aload 0
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
ldc "&"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 28
StackMap locals: io.vertx.core.buffer.Buffer io.vertx.core.json.JsonObject java.lang.String[] top int int java.lang.String[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 7
start local 7 7: iload 7
ifle 8
aload 3
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
goto 9
StackMap locals: io.vertx.core.buffer.Buffer io.vertx.core.json.JsonObject java.lang.String[] java.lang.String int int java.lang.String[] int
StackMap stack:
8: aload 3
StackMap locals:
StackMap stack: java.lang.String
9: astore 8
start local 8 10: iload 7
ifle 11
aload 3
invokevirtual java.lang.String.length:()I
iload 7
iconst_1
iadd
if_icmple 11
aload 3
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
ldc "UTF-8"
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
goto 12
StackMap locals: java.lang.String
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: java.lang.String
12: astore 9
start local 9 13: aload 1
aload 8
invokevirtual io.vertx.core.json.JsonObject.containsKey:(Ljava/lang/String;)Z
ifne 16
14: aload 1
aload 8
aload 9
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
15: goto 27
16: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 8
invokevirtual io.vertx.core.json.JsonObject.getValue:(Ljava/lang/String;)Ljava/lang/Object;
astore 10
start local 10 17: aload 10
instanceof io.vertx.core.json.JsonArray
ifeq 20
18: aload 10
checkcast io.vertx.core.json.JsonArray
astore 11
start local 11 19: goto 23
end local 11 20: StackMap locals: java.lang.Object
StackMap stack:
new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
astore 11
start local 11 21: aload 11
aload 10
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
pop
22: aload 1
aload 8
aload 11
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
23: StackMap locals: io.vertx.core.json.JsonArray
StackMap stack:
aload 9
ifnonnull 26
24: aload 11
invokevirtual io.vertx.core.json.JsonArray.addNull:()Lio/vertx/core/json/JsonArray;
pop
25: goto 27
26: StackMap locals:
StackMap stack:
aload 11
aload 9
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
pop
end local 11 end local 10 end local 9 end local 8 end local 7 end local 3 27: StackMap locals: io.vertx.core.buffer.Buffer io.vertx.core.json.JsonObject java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
28: iload 4
iload 5
if_icmplt 5
29: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 query Lio/vertx/core/buffer/Buffer;
3 30 1 json Lio/vertx/core/json/JsonObject;
4 30 2 pairs [Ljava/lang/String;
6 27 3 pair Ljava/lang/String;
7 27 7 idx I
10 27 8 key Ljava/lang/String;
13 27 9 value Ljava/lang/String;
17 27 10 oldValue Ljava/lang/Object;
19 20 11 array Lio/vertx/core/json/JsonArray;
21 27 11 array Lio/vertx/core/json/JsonArray;
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
query
private void makeRequest(io.vertx.core.http.RequestOptions, io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.auth.impl.http.SimpleHttpResponse>>);
descriptor: (Lio/vertx/core/http/RequestOptions;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.ext.auth.impl.http.SimpleHttpClient.client:Lio/vertx/core/http/HttpClient;
aload 1
aload 3
aload 2
invokedynamic handle(Lio/vertx/core/Handler;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
io/vertx/ext/auth/impl/http/SimpleHttpClient.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.http.HttpClient.request:(Lio/vertx/core/http/RequestOptions;Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/auth/impl/http/SimpleHttpClient;
0 2 1 options Lio/vertx/core/http/RequestOptions;
0 2 2 payload Lio/vertx/core/buffer/Buffer;
0 2 3 callback Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;>;
Signature: (Lio/vertx/core/http/RequestOptions;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/auth/impl/http/SimpleHttpResponse;>;>;)V
MethodParameters:
Name Flags
options
payload
callback final
private static void lambda$0(io.vertx.core.Handler, io.vertx.core.buffer.Buffer, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 3
start local 3 4: aload 0
invokedynamic handle(Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/auth/impl/http/SimpleHttpClient.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
astore 4
start local 4 5: aload 1
ifnull 8
6: aload 3
aload 1
aload 4
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
7: goto 9
8: StackMap locals: io.vertx.core.http.HttpClientRequest io.vertx.core.Handler
StackMap stack:
aload 3
aload 4
invokeinterface io.vertx.core.http.HttpClientRequest.send:(Lio/vertx/core/Handler;)V
end local 4 end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 10 2 request Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
4 9 3 req Lio/vertx/core/http/HttpClientRequest;
5 9 4 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;>;
private static void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 2
start local 2 4: aload 2
aload 2
aload 0
invokedynamic handle(Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/auth/impl/http/SimpleHttpClient.lambda$2(Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/Handler;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 2 5: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 send Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
4 5 2 res Lio/vertx/core/http/HttpClientResponse;
private static void lambda$2(io.vertx.core.http.HttpClientResponse, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 10
1: aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
astore 3
start local 3 2: aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 200
if_icmplt 3
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
sipush 300
if_icmplt 8
3: StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
aload 3
ifnull 4
aload 3
invokeinterface io.vertx.core.buffer.Buffer.length:()I
ifne 6
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusMessage:()Ljava/lang/String;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: goto 11
6: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusMessage:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 1
new io.vertx.ext.auth.impl.http.SimpleHttpResponse
dup
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
aload 0
invokeinterface io.vertx.core.http.HttpClientResponse.headers:()Lio/vertx/core/MultiMap;
aload 3
invokespecial io.vertx.ext.auth.impl.http.SimpleHttpResponse.<init>:(ILio/vertx/core/MultiMap;Lio/vertx/core/buffer/Buffer;)V
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 3 9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 12 2 body Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;
2 9 3 value Lio/vertx/core/buffer/Buffer;
}
SourceFile: "SimpleHttpClient.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map