public class io.vertx.ext.web.client.impl.HttpContext<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.web.client.impl.HttpContext
super_class: java.lang.Object
{
private final io.vertx.core.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.web.client.HttpResponse<T>>> handler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/client/HttpResponse<TT;>;>;>;
private final io.vertx.core.http.impl.HttpClientImpl client;
descriptor: Lio/vertx/core/http/impl/HttpClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<io.vertx.core.Handler<io.vertx.ext.web.client.impl.HttpContext<?>>> interceptors;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/Handler<Lio/vertx/ext/web/client/impl/HttpContext<*>;>;>;
private io.vertx.ext.web.client.impl.HttpRequestImpl<T> request;
descriptor: Lio/vertx/ext/web/client/impl/HttpRequestImpl;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/ext/web/client/impl/HttpRequestImpl<TT;>;
private java.lang.Object body;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.String contentType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.Object> attrs;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private java.util.Iterator<io.vertx.core.Handler<io.vertx.ext.web.client.impl.HttpContext<?>>> it;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Lio/vertx/core/Handler<Lio/vertx/ext/web/client/impl/HttpContext<*>;>;>;
private io.vertx.ext.web.client.impl.ClientPhase phase;
descriptor: Lio/vertx/ext/web/client/impl/ClientPhase;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.http.HttpClientRequest clientRequest;
descriptor: Lio/vertx/core/http/HttpClientRequest;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.http.HttpClientResponse clientResponse;
descriptor: Lio/vertx/core/http/HttpClientResponse;
flags: (0x0002) ACC_PRIVATE
private io.vertx.ext.web.client.HttpResponse<T> response;
descriptor: Lio/vertx/ext/web/client/HttpResponse;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/ext/web/client/HttpResponse<TT;>;
private java.lang.Throwable failure;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private int redirects;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> redirectedLocations;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private static volatile int[] $SWITCH_TABLE$io$vertx$ext$web$client$impl$ClientPhase;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(io.vertx.core.Context, io.vertx.core.http.impl.HttpClientImpl, java.util.List<io.vertx.core.Handler<io.vertx.ext.web.client.impl.HttpContext<?>>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.web.client.HttpResponse<T>>>);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/http/impl/HttpClientImpl;Ljava/util/List;Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.ext.web.client.impl.HttpContext.redirectedLocations:Ljava/util/List;
2: aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.context:Lio/vertx/core/Context;
3: aload 0
aload 4
putfield io.vertx.ext.web.client.impl.HttpContext.handler:Lio/vertx/core/Handler;
4: aload 0
aload 2
putfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
5: aload 0
aload 3
putfield io.vertx.ext.web.client.impl.HttpContext.interceptors:Ljava/util/List;
6: return
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 Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 7 1 context Lio/vertx/core/Context;
0 7 2 client Lio/vertx/core/http/impl/HttpClientImpl;
0 7 3 interceptors Ljava/util/List<Lio/vertx/core/Handler<Lio/vertx/ext/web/client/impl/HttpContext<*>;>;>;
0 7 4 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/client/HttpResponse<TT;>;>;>;
Signature: (Lio/vertx/core/Context;Lio/vertx/core/http/impl/HttpClientImpl;Ljava/util/List<Lio/vertx/core/Handler<Lio/vertx/ext/web/client/impl/HttpContext<*>;>;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/client/HttpResponse<TT;>;>;>;)V
MethodParameters:
Name Flags
context
client
interceptors
handler
public io.vertx.core.http.HttpClientRequest clientRequest();
descriptor: ()Lio/vertx/core/http/HttpClientRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.clientRequest:Lio/vertx/core/http/HttpClientRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public io.vertx.core.http.HttpClientResponse clientResponse();
descriptor: ()Lio/vertx/core/http/HttpClientResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.clientResponse:Lio/vertx/core/http/HttpClientResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public io.vertx.ext.web.client.impl.ClientPhase phase();
descriptor: ()Lio/vertx/ext/web/client/impl/ClientPhase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.phase:Lio/vertx/ext/web/client/impl/ClientPhase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public io.vertx.ext.web.client.HttpRequest<T> request();
descriptor: ()Lio/vertx/ext/web/client/HttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
Signature: ()Lio/vertx/ext/web/client/HttpRequest<TT;>;
public io.vertx.ext.web.client.HttpResponse<T> response();
descriptor: ()Lio/vertx/ext/web/client/HttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.response:Lio/vertx/ext/web/client/HttpResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
Signature: ()Lio/vertx/ext/web/client/HttpResponse<TT;>;
public io.vertx.ext.web.client.impl.HttpContext<T> response(io.vertx.ext.web.client.HttpResponse<T>);
descriptor: (Lio/vertx/ext/web/client/HttpResponse;)Lio/vertx/ext/web/client/impl/HttpContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.response:Lio/vertx/ext/web/client/HttpResponse;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 2 1 response Lio/vertx/ext/web/client/HttpResponse<TT;>;
Signature: (Lio/vertx/ext/web/client/HttpResponse<TT;>;)Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
MethodParameters:
Name Flags
response
public int redirects();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public io.vertx.ext.web.client.impl.HttpContext<T> redirects(int);
descriptor: (I)Lio/vertx/ext/web/client/impl/HttpContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 2 1 redirects I
Signature: (I)Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
MethodParameters:
Name Flags
redirects
public java.lang.String contentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public java.lang.Object body();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public java.lang.Throwable failure();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.failure:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public java.util.List<java.lang.String> getRedirectedLocations();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.redirectedLocations:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void prepareRequest(io.vertx.ext.web.client.HttpRequest<T>, java.lang.String, );
descriptor: (Lio/vertx/ext/web/client/HttpRequest;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
checkcast io.vertx.ext.web.client.impl.HttpRequestImpl
putfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
1: aload 0
aload 2
putfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
2: aload 0
aload 3
putfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
3: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.PREPARE_REQUEST:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
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/web/client/impl/HttpContext<TT;>;
0 5 1 request Lio/vertx/ext/web/client/HttpRequest<TT;>;
0 5 2 contentType Ljava/lang/String;
0 5 3 body Ljava/lang/Object;
Signature: (Lio/vertx/ext/web/client/HttpRequest<TT;>;Ljava/lang/String;Ljava/lang/Object;)V
MethodParameters:
Name Flags
request
contentType
body
public void sendRequest(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 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.clientRequest:Lio/vertx/core/http/HttpClientRequest;
1: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.SEND_REQUEST:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 3 1 clientRequest Lio/vertx/core/http/HttpClientRequest;
MethodParameters:
Name Flags
clientRequest
public void followRedirect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.SEND_REQUEST:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
public void receiveResponse(io.vertx.core.http.HttpClientResponse);
descriptor: (Lio/vertx/core/http/HttpClientResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
istore 2
start local 2 1: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.followRedirects:Z
ifeq 2
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
invokevirtual io.vertx.core.http.impl.HttpClientImpl.getOptions:()Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getMaxRedirects:()I
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
iload 3
if_icmpge 11
iload 2
sipush 300
if_icmplt 11
iload 2
sipush 400
if_icmpge 11
5: aload 0
dup
getfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
iconst_1
iadd
putfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
6: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
invokevirtual io.vertx.core.http.impl.HttpClientImpl.redirectHandler:()Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.Future
astore 4
start local 4 7: aload 4
ifnull 11
8: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.redirectedLocations:Ljava/util/List;
aload 1
getstatic io.vertx.core.http.HttpHeaders.LOCATION:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.http.HttpClientResponse.getHeader:(Ljava/lang/CharSequence;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 4
aload 0
aload 1
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/core/http/HttpClientResponse;)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/web/client/impl/HttpContext.lambda$0(Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
10: return
end local 4 11: StackMap locals: int
StackMap stack:
aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.clientResponse:Lio/vertx/core/http/HttpClientResponse;
12: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.RECEIVE_RESPONSE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 14 1 clientResponse Lio/vertx/core/http/HttpClientResponse;
1 14 2 sc I
4 14 3 maxRedirects I
7 11 4 next Lio/vertx/core/Future<Lio/vertx/core/http/HttpClientRequest;>;
MethodParameters:
Name Flags
clientResponse
public void dispatchResponse(io.vertx.ext.web.client.HttpResponse<T>);
descriptor: (Lio/vertx/ext/web/client/HttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.response:Lio/vertx/ext/web/client/HttpResponse;
1: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.DISPATCH_RESPONSE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 3 1 response Lio/vertx/ext/web/client/HttpResponse<TT;>;
Signature: (Lio/vertx/ext/web/client/HttpResponse<TT;>;)V
MethodParameters:
Name Flags
response
public boolean fail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.phase:Lio/vertx/ext/web/client/impl/ClientPhase;
getstatic io.vertx.ext.web.client.impl.ClientPhase.FAILURE:Lio/vertx/ext/web/client/impl/ClientPhase;
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.failure:Ljava/lang/Throwable;
3: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.FAILURE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 5 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public void next();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
1: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.Handler
astore 1
start local 1 2: aload 1
aload 0
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 1 3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield io.vertx.ext.web.client.impl.HttpContext.it:Ljava/util/Iterator;
5: aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.execute:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
2 3 1 next Lio/vertx/core/Handler<Lio/vertx/ext/web/client/impl/HttpContext<*>;>;
private void fire(io.vertx.ext.web.client.impl.ClientPhase);
descriptor: (Lio/vertx/ext/web/client/impl/ClientPhase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.phase:Lio/vertx/ext/web/client/impl/ClientPhase;
1: aload 0
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.interceptors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
putfield io.vertx.ext.web.client.impl.HttpContext.it:Ljava/util/Iterator;
2: aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.next:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 4 1 phase Lio/vertx/ext/web/client/impl/ClientPhase;
MethodParameters:
Name Flags
phase
private void execute();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic io.vertx.ext.web.client.impl.HttpContext.$SWITCH_TABLE$io$vertx$ext$web$client$impl$ClientPhase:()[I
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.phase:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 3
3: 5
4: 7
5: 9
6: 11
default: 12
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.handlePrepareRequest:()V
2: goto 12
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.handleSendRequest:()V
4: goto 12
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.followRedirect:()V
6: goto 12
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.handleReceiveResponse:()V
8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse:()V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.ext.web.client.impl.HttpContext.handleFailure:()V
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
private void handleFailure();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.handler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.failure: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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
private void handleDispatchResponse();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.handler:Lio/vertx/core/Handler;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.response:Lio/vertx/ext/web/client/HttpResponse;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
private void handlePrepareRequest();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.params:Lio/vertx/core/MultiMap;
ifnull 5
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.params:Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.size:()I
ifle 5
1: new io.netty.handler.codec.http.QueryStringEncoder
dup
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.uri:Ljava/lang/String;
invokespecial io.netty.handler.codec.http.QueryStringEncoder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.params:Lio/vertx/core/MultiMap;
aload 3
invokedynamic accept(Lio/netty/handler/codec/http/QueryStringEncoder;)Ljava/util/function/Consumer;
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/web/client/impl/HttpContext.lambda$1(Lio/netty/handler/codec/http/QueryStringEncoder;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokeinterface io.vertx.core.MultiMap.forEach:(Ljava/util/function/Consumer;)V
3: aload 3
invokevirtual io.netty.handler.codec.http.QueryStringEncoder.toString:()Ljava/lang/String;
astore 2
end local 3 start local 2 4: goto 6
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.uri:Ljava/lang/String;
astore 2
start local 2 6: StackMap locals: io.vertx.ext.web.client.impl.HttpContext top java.lang.String
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.port:I
istore 3
start local 3 7: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.host:Ljava/lang/String;
astore 4
start local 4 8: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.ssl:Ljava/lang/Boolean;
ifnull 16
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.ssl:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.options:Lio/vertx/ext/web/client/WebClientOptions;
invokevirtual io.vertx.ext.web.client.WebClientOptions.isSsl:()Z
if_icmpeq 16
9: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.method:Lio/vertx/core/http/HttpMethod;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.serverAddress:Lio/vertx/core/net/SocketAddress;
new io.vertx.core.http.RequestOptions
dup
invokespecial io.vertx.core.http.RequestOptions.<init>:()V
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.ssl:Ljava/lang/Boolean;
invokevirtual io.vertx.core.http.RequestOptions.setSsl:(Ljava/lang/Boolean;)Lio/vertx/core/http/RequestOptions;
aload 4
invokevirtual io.vertx.core.http.RequestOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
10: iload 3
11: invokevirtual io.vertx.core.http.RequestOptions.setPort:(I)Lio/vertx/core/http/RequestOptions;
12: aload 2
13: invokevirtual io.vertx.core.http.RequestOptions.setURI:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
14: invokevirtual io.vertx.core.http.impl.HttpClientImpl.request:(Lio/vertx/core/http/HttpMethod;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/http/RequestOptions;)Lio/vertx/core/http/HttpClientRequest;
astore 1
start local 1 15: goto 24
end local 1 16: StackMap locals: int java.lang.String
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.protocol:Ljava/lang/String;
ifnull 23
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.protocol:Ljava/lang/String;
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.protocol:Ljava/lang/String;
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
17: new java.net.URI
dup
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.protocol:Ljava/lang/String;
aconst_null
aload 4
iload 3
aload 2
aconst_null
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 18: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.method:Lio/vertx/core/http/HttpMethod;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.serverAddress:Lio/vertx/core/net/SocketAddress;
aload 5
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.http.impl.HttpClientImpl.requestAbs:(Lio/vertx/core/http/HttpMethod;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
astore 1
end local 5 start local 1 19: goto 24
end local 1 StackMap locals:
StackMap stack: java.net.URISyntaxException
20: astore 5
start local 5 21: aload 0
aload 5
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fail:(Ljava/lang/Throwable;)Z
pop
22: return
end local 5 23: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.method:Lio/vertx/core/http/HttpMethod;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.serverAddress:Lio/vertx/core/net/SocketAddress;
iload 3
aload 4
aload 2
invokevirtual io.vertx.core.http.impl.HttpClientImpl.request:(Lio/vertx/core/http/HttpMethod;Lio/vertx/core/net/SocketAddress;ILjava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
astore 1
start local 1 24: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.http.HttpClientRequest java.lang.String int java.lang.String
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.virtualHost:Ljava/lang/String;
ifnull 29
25: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.virtualHost:Ljava/lang/String;
astore 5
start local 5 26: iload 3
bipush 80
if_icmpeq 28
27: new java.lang.StringBuilder
dup
aload 5
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;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
28: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 5
invokeinterface io.vertx.core.http.HttpClientRequest.setHost:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
end local 5 29: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.vertx.ext.web.client.impl.HttpContext.redirects:I
30: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
ifnull 32
31: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.headers:()Lio/vertx/core/MultiMap;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.addAll:(Lio/vertx/core/MultiMap;)Lio/vertx/core/MultiMap;
pop
32: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.rawMethod:Ljava/lang/String;
ifnull 34
33: aload 1
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.rawMethod:Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpClientRequest.setRawMethod:(Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
34: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.ext.web.client.impl.HttpContext.sendRequest:(Lio/vertx/core/http/HttpClientRequest;)V
35: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
15 16 1 req Lio/vertx/core/http/HttpClientRequest;
19 20 1 req Lio/vertx/core/http/HttpClientRequest;
24 36 1 req Lio/vertx/core/http/HttpClientRequest;
4 5 2 requestURI Ljava/lang/String;
6 36 2 requestURI Ljava/lang/String;
2 4 3 enc Lio/netty/handler/codec/http/QueryStringEncoder;
7 36 3 port I
8 36 4 host Ljava/lang/String;
18 19 5 uri Ljava/net/URI;
21 23 5 ex Ljava/net/URISyntaxException;
26 29 5 virtalHost Ljava/lang/String;
Exception table:
from to target type
17 19 20 Class java.net.URISyntaxException
private void handleReceiveResponse();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.clientResponse:Lio/vertx/core/http/HttpClientResponse;
astore 1
start local 1 1: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
astore 2
start local 2 2: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 3: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
aload 2
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/core/Context;)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/web/client/impl/HttpContext.lambda$2(Lio/vertx/core/Context;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
4: aload 1
aload 3
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
io/vertx/ext/web/client/impl/HttpContext.lambda$4(Lio/vertx/core/Promise;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.http.HttpClientResponse.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientResponse;
pop
5: aload 1
invokeinterface io.vertx.core.http.HttpClientResponse.pipe:()Lio/vertx/core/streams/Pipe;
astore 4
start local 4 6: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.codec:Lio/vertx/ext/web/codec/BodyCodec;
aload 0
aload 4
aload 3
aload 1
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/core/streams/Pipe;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;)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/web/client/impl/HttpContext.lambda$5(Lio/vertx/core/streams/Pipe;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.ext.web.codec.BodyCodec.create:(Lio/vertx/core/Handler;)V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
1 8 1 resp Lio/vertx/core/http/HttpClientResponse;
2 8 2 context Lio/vertx/core/Context;
3 8 3 promise Lio/vertx/core/Promise<Lio/vertx/ext/web/client/HttpResponse<TT;>;>;
6 8 4 pipe Lio/vertx/core/streams/Pipe<Lio/vertx/core/buffer/Buffer;>;
private void handleSendRequest();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=1
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 1
start local 1 1: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;)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/web/client/impl/HttpContext.lambda$8(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.clientRequest:Lio/vertx/core/http/HttpClientRequest;
astore 2
start local 2 3: aload 2
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
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
io/vertx/core/Promise.tryComplete(Ljava/lang/Object;)Z (9 itf)
(Lio/vertx/core/http/HttpClientResponse;)V
invokeinterface io.vertx.core.http.HttpClientRequest.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
4: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.timeout:J
lconst_0
lcmp
ifle 6
5: aload 2
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.timeout:J
invokeinterface io.vertx.core.http.HttpClientRequest.setTimeout:(J)Lio/vertx/core/http/HttpClientRequest;
pop
6: StackMap locals: io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
ifnull 54
7: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
ifnull 13
8: aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.headers:()Lio/vertx/core/MultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 9: aload 4
ifnonnull 12
10: aload 2
getstatic io.vertx.core.http.HttpHeaders.CONTENT_TYPE:Ljava/lang/CharSequence;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/HttpClientRequest;
pop
11: goto 13
12: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top java.lang.String
StackMap stack:
aload 0
aload 4
putfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
end local 4 13: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
instanceof io.vertx.core.MultiMap
ifeq 21
14: invokestatic io.vertx.ext.web.multipart.MultipartForm.create:()Lio/vertx/ext/web/multipart/MultipartForm;
astore 4
start local 4 15: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
checkcast io.vertx.core.MultiMap
astore 5
start local 5 16: aload 5
invokeinterface io.vertx.core.MultiMap.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top io.vertx.ext.web.multipart.MultipartForm io.vertx.core.MultiMap top java.util.Iterator
StackMap stack:
17: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 18: aload 4
aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface io.vertx.ext.web.multipart.MultipartForm.attribute:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/ext/web/multipart/MultipartForm;
pop
end local 6 19: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 0
aload 4
putfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
end local 5 end local 4 21: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
instanceof io.vertx.ext.web.multipart.MultipartForm
ifeq 38
22: ldc "multipart/form-data"
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.contentType:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
istore 5
start local 5 23: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.multipartMixed:Z
ifeq 24
getstatic io.netty.handler.codec.http.multipart.HttpPostRequestEncoder$EncoderMode.RFC1738:Lio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderMode;
goto 25
StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top top int
StackMap stack:
24: getstatic io.netty.handler.codec.http.multipart.HttpPostRequestEncoder$EncoderMode.HTML5:Lio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderMode;
StackMap locals:
StackMap stack: io.netty.handler.codec.http.multipart.HttpPostRequestEncoder$EncoderMode
25: astore 6
start local 6 26: new io.vertx.ext.web.client.impl.MultipartFormUpload
dup
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.context:Lio/vertx/core/Context;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
checkcast io.vertx.ext.web.multipart.MultipartForm
iload 5
aload 6
invokespecial io.vertx.ext.web.client.impl.MultipartFormUpload.<init>:(Lio/vertx/core/Context;Lio/vertx/ext/web/multipart/MultipartForm;ZLio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderMode;)V
astore 4
start local 4 27: aload 0
aload 4
putfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
end local 6 end local 5 28: goto 32
end local 4 StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack: java.lang.Exception
29: astore 5
start local 5 30: aload 1
aload 5
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
31: return
end local 5 start local 4 32: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top io.vertx.ext.web.client.impl.MultipartFormUpload
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
invokevirtual io.vertx.ext.web.client.impl.HttpRequestImpl.headers:()Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.names:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 35
StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top io.vertx.ext.web.client.impl.MultipartFormUpload top java.util.Iterator
StackMap stack:
33: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 34: aload 2
aload 5
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
invokevirtual io.vertx.ext.web.client.impl.HttpRequestImpl.headers:()Lio/vertx/core/MultiMap;
aload 5
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
end local 5 35: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
36: aload 4
invokevirtual io.vertx.ext.web.client.impl.MultipartFormUpload.headers:()Lio/vertx/core/MultiMap;
aload 2
invokedynamic accept(Lio/vertx/core/http/HttpClientRequest;)Ljava/util/function/Consumer;
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/web/client/impl/HttpContext.lambda$10(Lio/vertx/core/http/HttpClientRequest;Ljava/util/Map$Entry;)V (6)
(Ljava/util/Map$Entry;)V
invokeinterface io.vertx.core.MultiMap.forEach:(Ljava/util/function/Consumer;)V
37: aload 4
invokevirtual io.vertx.ext.web.client.impl.MultipartFormUpload.run:()V
end local 4 38: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
instanceof io.vertx.core.streams.ReadStream
ifeq 44
39: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
checkcast io.vertx.core.streams.ReadStream
astore 4
start local 4 40: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
ifnull 41
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
getstatic io.vertx.core.http.HttpHeaders.CONTENT_LENGTH:Ljava/lang/CharSequence;
invokeinterface io.vertx.core.MultiMap.contains:(Ljava/lang/CharSequence;)Z
ifne 42
41: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top io.vertx.core.streams.ReadStream
StackMap stack:
aload 2
iconst_1
invokeinterface io.vertx.core.http.HttpClientRequest.setChunked:(Z)Lio/vertx/core/http/HttpClientRequest;
pop
42: StackMap locals:
StackMap stack:
aload 4
aload 2
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/Promise;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
io/vertx/ext/web/client/impl/HttpContext.lambda$11(Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientRequest;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.streams.ReadStream.pipeTo:(Lio/vertx/core/streams/WriteStream;Lio/vertx/core/Handler;)V
end local 4 43: goto 56
44: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
instanceof io.vertx.core.buffer.Buffer
ifeq 47
45: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
astore 4
start local 4 46: goto 51
end local 4 StackMap locals:
StackMap stack:
47: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
instanceof io.vertx.core.json.JsonObject
ifeq 50
48: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokevirtual io.vertx.core.json.JsonObject.encode:()Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
astore 4
start local 4 49: goto 51
end local 4 50: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.body:Ljava/lang/Object;
invokestatic io.vertx.core.json.Json.encode:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
astore 4
start local 4 51: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest top io.vertx.core.buffer.Buffer
StackMap stack:
aload 2
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
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
io/vertx/core/Promise.tryFail(Ljava/lang/Throwable;)Z (9 itf)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.http.HttpClientRequest.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
52: aload 2
aload 4
invokeinterface io.vertx.core.http.HttpClientRequest.end:(Lio/vertx/core/buffer/Buffer;)V
end local 4 53: goto 56
54: StackMap locals: io.vertx.ext.web.client.impl.HttpContext io.vertx.core.Promise io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 2
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
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
io/vertx/core/Promise.tryFail(Ljava/lang/Throwable;)Z (9 itf)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.http.HttpClientRequest.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/http/HttpClientRequest;
pop
55: aload 2
invokeinterface io.vertx.core.http.HttpClientRequest.end:()V
56: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
1 57 1 responseFuture Lio/vertx/core/Promise<Lio/vertx/core/http/HttpClientResponse;>;
3 57 2 req Lio/vertx/core/http/HttpClientRequest;
9 13 4 prev Ljava/lang/String;
15 21 4 parts Lio/vertx/ext/web/multipart/MultipartForm;
16 21 5 attributes Lio/vertx/core/MultiMap;
18 19 6 attribute Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
27 29 4 multipartForm Lio/vertx/ext/web/client/impl/MultipartFormUpload;
32 38 4 multipartForm Lio/vertx/ext/web/client/impl/MultipartFormUpload;
23 28 5 multipart Z
26 28 6 encoderMode Lio/netty/handler/codec/http/multipart/HttpPostRequestEncoder$EncoderMode;
30 32 5 e Ljava/lang/Exception;
34 35 5 headerName Ljava/lang/String;
40 43 4 stream Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
46 47 4 buffer Lio/vertx/core/buffer/Buffer;
49 50 4 buffer Lio/vertx/core/buffer/Buffer;
51 53 4 buffer Lio/vertx/core/buffer/Buffer;
Exception table:
from to target type
22 28 29 Class java.lang.Exception
public <T> T get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
ifnull 1
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 3 1 key Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;)TT;
MethodParameters:
Name Flags
key
public io.vertx.ext.web.client.impl.HttpContext<T> set(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/client/impl/HttpContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 4
1: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
ifnull 7
2: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
ifnonnull 6
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.attrs:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 8 1 key Ljava/lang/String;
0 8 2 value Ljava/lang/Object;
Signature: (Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
MethodParameters:
Name Flags
key
value
static int[] $SWITCH_TABLE$io$vertx$ext$web$client$impl$ClientPhase();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.ext.web.client.impl.HttpContext.$SWITCH_TABLE$io$vertx$ext$web$client$impl$ClientPhase:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.ext.web.client.impl.ClientPhase.values:()[Lio/vertx/ext/web/client/impl/ClientPhase;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.DISPATCH_RESPONSE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.FAILURE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.FOLLOW_REDIRECT:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.PREPARE_REQUEST:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.RECEIVE_RESPONSE:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.SEND_REQUEST:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.ClientPhase.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic io.vertx.ext.web.client.impl.HttpContext.$SWITCH_TABLE$io$vertx$ext$web$client$impl$ClientPhase:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
private void lambda$0(io.vertx.core.http.HttpClientResponse, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientRequest
astore 3
start local 3 2: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
ifnull 4
3: aload 3
invokeinterface io.vertx.core.http.HttpClientRequest.headers:()Lio/vertx/core/MultiMap;
aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.request:Lio/vertx/ext/web/client/impl/HttpRequestImpl;
getfield io.vertx.ext.web.client.impl.HttpRequestImpl.headers:Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.addAll:(Lio/vertx/core/MultiMap;)Lio/vertx/core/MultiMap;
pop
4: StackMap locals: io.vertx.core.http.HttpClientRequest
StackMap stack:
aload 0
aload 3
putfield io.vertx.ext.web.client.impl.HttpContext.clientRequest:Lio/vertx/core/http/HttpClientRequest;
5: aload 0
aload 1
putfield io.vertx.ext.web.client.impl.HttpContext.clientResponse:Lio/vertx/core/http/HttpClientResponse;
6: aload 0
getstatic io.vertx.ext.web.client.impl.ClientPhase.FOLLOW_REDIRECT:Lio/vertx/ext/web/client/impl/ClientPhase;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fire:(Lio/vertx/ext/web/client/impl/ClientPhase;)V
end local 3 7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fail:(Ljava/lang/Throwable;)Z
pop
9: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 10 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientRequest;>;
2 7 3 nextRequest Lio/vertx/core/http/HttpClientRequest;
private static void lambda$1(io.netty.handler.codec.http.QueryStringEncoder, java.util.Map$Entry);
descriptor: (Lio/netty/handler/codec/http/QueryStringEncoder;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual io.netty.handler.codec.http.QueryStringEncoder.addParam:(Ljava/lang/String;Ljava/lang/String;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 param Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
private void lambda$2(io.vertx.core.Context, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 1
aload 0
aload 2
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/core/AsyncResult;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/ext/web/client/impl/HttpContext.lambda$3(Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 2 2 r Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/client/HttpResponse<TT;>;>;
private static void lambda$4(io.vertx.core.Promise, java.lang.Throwable);
descriptor: (Lio/vertx/core/Promise;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.isComplete:()Z
ifne 2
1: aload 0
aload 1
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 err Ljava/lang/Throwable;
private void lambda$5(io.vertx.core.streams.Pipe, io.vertx.core.Promise, io.vertx.core.http.HttpClientResponse, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/streams/Pipe;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 4
1: aload 4
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.ext.web.codec.spi.BodyStream
astore 5
start local 5 2: aload 1
aload 5
aload 0
aload 5
aload 2
aload 3
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/ext/web/codec/spi/BodyStream;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;)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/web/client/impl/HttpContext.lambda$6(Lio/vertx/ext/web/codec/spi/BodyStream;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.streams.Pipe.to:(Lio/vertx/core/streams/WriteStream;Lio/vertx/core/Handler;)V
end local 5 3: goto 6
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.streams.Pipe.close:()V
5: aload 0
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fail:(Ljava/lang/Throwable;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 7 4 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/codec/spi/BodyStream<TT;>;>;
2 3 5 stream Lio/vertx/ext/web/codec/spi/BodyStream<TT;>;
private void lambda$8(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.http.HttpClientResponse
astore 2
start local 2 2: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.pause:()Lio/vertx/core/http/HttpClientResponse;
pop
3: aload 0
aload 2
invokevirtual io.vertx.ext.web.client.impl.HttpContext.receiveResponse:(Lio/vertx/core/http/HttpClientResponse;)V
end local 2 4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fail:(Ljava/lang/Throwable;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 7 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/http/HttpClientResponse;>;
2 4 2 resp Lio/vertx/core/http/HttpClientResponse;
private static void lambda$10(io.vertx.core.http.HttpClientRequest, java.util.Map$Entry);
descriptor: (Lio/vertx/core/http/HttpClientRequest;Ljava/util/Map$Entry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface io.vertx.core.http.HttpClientRequest.putHeader:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/HttpClientRequest;
pop
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 header Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
private static void lambda$11(io.vertx.core.Promise, io.vertx.core.http.HttpClientRequest, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientRequest;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, 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;
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
2: aload 1
invokeinterface io.vertx.core.http.HttpClientRequest.reset:()Z
pop
3: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$3(io.vertx.core.AsyncResult, java.lang.Void);
descriptor: (Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.ext.web.client.HttpResponse
invokevirtual io.vertx.ext.web.client.impl.HttpContext.dispatchResponse:(Lio/vertx/ext/web/client/HttpResponse;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.ext.web.client.impl.HttpContext.fail:(Ljava/lang/Throwable;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 5 2 v Ljava/lang/Void;
private void lambda$6(io.vertx.ext.web.codec.spi.BodyStream, io.vertx.core.Promise, io.vertx.core.http.HttpClientResponse, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/ext/web/codec/spi/BodyStream;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
invokeinterface io.vertx.ext.web.codec.spi.BodyStream.result:()Lio/vertx/core/Future;
aload 0
aload 2
aload 3
aload 1
invokedynamic handle(Lio/vertx/ext/web/client/impl/HttpContext;Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/ext/web/codec/spi/BodyStream;)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/web/client/impl/HttpContext.lambda$7(Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/ext/web/codec/spi/BodyStream;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 5 4 ar2 Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$7(io.vertx.core.Promise, io.vertx.core.http.HttpClientResponse, io.vertx.ext.web.codec.spi.BodyStream, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/http/HttpClientResponse;Lio/vertx/ext/web/codec/spi/BodyStream;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=11, locals=5, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 12
1: aload 1
new io.vertx.ext.web.client.impl.HttpResponseImpl
dup
2: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.version:()Lio/vertx/core/http/HttpVersion;
3: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.statusCode:()I
4: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.statusMessage:()Ljava/lang/String;
5: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.headers:()Lio/vertx/core/MultiMap;
6: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.trailers:()Lio/vertx/core/MultiMap;
7: aload 2
invokeinterface io.vertx.core.http.HttpClientResponse.cookies:()Ljava/util/List;
8: aload 3
invokeinterface io.vertx.ext.web.codec.spi.BodyStream.result:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.result:()Ljava/lang/Object;
9: aload 0
getfield io.vertx.ext.web.client.impl.HttpContext.redirectedLocations:Ljava/util/List;
invokespecial io.vertx.ext.web.client.impl.HttpResponseImpl.<init>:(Lio/vertx/core/http/HttpVersion;ILjava/lang/String;Lio/vertx/core/MultiMap;Lio/vertx/core/MultiMap;Ljava/util/List;Ljava/lang/Object;Ljava/util/List;)V
10: invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
13: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/ext/web/client/impl/HttpContext<TT;>;
0 14 4 ar3 Lio/vertx/core/AsyncResult<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HttpContext.java"
InnerClasses:
public final EncoderMode = io.netty.handler.codec.http.multipart.HttpPostRequestEncoder$EncoderMode of io.netty.handler.codec.http.multipart.HttpPostRequestEncoder
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map