public class io.vertx.core.http.RequestOptions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.http.RequestOptions
super_class: java.lang.Object
{
public static final io.vertx.core.net.SocketAddress DEFAULT_SERVER;
descriptor: Lio/vertx/core/net/SocketAddress;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final io.vertx.core.http.HttpMethod DEFAULT_HTTP_METHOD;
descriptor: Lio/vertx/core/http/HttpMethod;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String DEFAULT_HOST;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Integer DEFAULT_PORT;
descriptor: Ljava/lang/Integer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Boolean DEFAULT_SSL;
descriptor: Ljava/lang/Boolean;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String DEFAULT_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "/"
public static final boolean DEFAULT_FOLLOW_REDIRECTS;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final long DEFAULT_TIMEOUT;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private io.vertx.core.net.SocketAddress server;
descriptor: Lio/vertx/core/net/SocketAddress;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.http.HttpMethod method;
descriptor: Lio/vertx/core/http/HttpMethod;
flags: (0x0002) ACC_PRIVATE
private java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer port;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean ssl;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.String uri;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.MultiMap ;
descriptor: Lio/vertx/core/MultiMap;
flags: (0x0002) ACC_PRIVATE
private boolean followRedirects;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long timeout;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic io.vertx.core.http.RequestOptions.DEFAULT_SERVER:Lio/vertx/core/net/SocketAddress;
1: getstatic io.vertx.core.http.HttpMethod.GET:Lio/vertx/core/http/HttpMethod;
putstatic io.vertx.core.http.RequestOptions.DEFAULT_HTTP_METHOD:Lio/vertx/core/http/HttpMethod;
2: aconst_null
putstatic io.vertx.core.http.RequestOptions.DEFAULT_HOST:Ljava/lang/String;
3: aconst_null
putstatic io.vertx.core.http.RequestOptions.DEFAULT_PORT:Ljava/lang/Integer;
4: aconst_null
putstatic io.vertx.core.http.RequestOptions.DEFAULT_SSL:Ljava/lang/Boolean;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.vertx.core.http.RequestOptions.DEFAULT_SERVER:Lio/vertx/core/net/SocketAddress;
putfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
2: aload 0
getstatic io.vertx.core.http.RequestOptions.DEFAULT_HTTP_METHOD:Lio/vertx/core/http/HttpMethod;
putfield io.vertx.core.http.RequestOptions.method:Lio/vertx/core/http/HttpMethod;
3: aload 0
getstatic io.vertx.core.http.RequestOptions.DEFAULT_HOST:Ljava/lang/String;
putfield io.vertx.core.http.RequestOptions.host:Ljava/lang/String;
4: aload 0
getstatic io.vertx.core.http.RequestOptions.DEFAULT_PORT:Ljava/lang/Integer;
putfield io.vertx.core.http.RequestOptions.port:Ljava/lang/Integer;
5: aload 0
getstatic io.vertx.core.http.RequestOptions.DEFAULT_SSL:Ljava/lang/Boolean;
putfield io.vertx.core.http.RequestOptions.ssl:Ljava/lang/Boolean;
6: aload 0
ldc "/"
putfield io.vertx.core.http.RequestOptions.uri:Ljava/lang/String;
7: aload 0
iconst_0
putfield io.vertx.core.http.RequestOptions.followRedirects:Z
8: aload 0
lconst_0
putfield io.vertx.core.http.RequestOptions.timeout:J
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/core/http/RequestOptions;
public void <init>(io.vertx.core.http.RequestOptions);
descriptor: (Lio/vertx/core/http/RequestOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
invokevirtual io.vertx.core.http.RequestOptions.setServer:(Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/http/RequestOptions;
pop
2: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.method:Lio/vertx/core/http/HttpMethod;
invokevirtual io.vertx.core.http.RequestOptions.setMethod:(Lio/vertx/core/http/HttpMethod;)Lio/vertx/core/http/RequestOptions;
pop
3: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.host:Ljava/lang/String;
invokevirtual io.vertx.core.http.RequestOptions.setHost:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
pop
4: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.port:Ljava/lang/Integer;
invokevirtual io.vertx.core.http.RequestOptions.setPort:(Ljava/lang/Integer;)Lio/vertx/core/http/RequestOptions;
pop
5: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.ssl:Ljava/lang/Boolean;
invokevirtual io.vertx.core.http.RequestOptions.setSsl:(Ljava/lang/Boolean;)Lio/vertx/core/http/RequestOptions;
pop
6: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.uri:Ljava/lang/String;
invokevirtual io.vertx.core.http.RequestOptions.setURI:(Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
pop
7: aload 0
aload 1
getfield io.vertx.core.http.RequestOptions.timeout:J
invokevirtual io.vertx.core.http.RequestOptions.setTimeout:(J)Lio/vertx/core/http/RequestOptions;
pop
8: aload 1
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
ifnull 10
9: aload 0
invokestatic io.vertx.core.MultiMap.caseInsensitiveMultiMap:()Lio/vertx/core/MultiMap;
aload 1
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
invokeinterface io.vertx.core.MultiMap.setAll:(Lio/vertx/core/MultiMap;)Lio/vertx/core/MultiMap;
invokevirtual io.vertx.core.http.RequestOptions.setHeaders:(Lio/vertx/core/MultiMap;)Lio/vertx/core/http/RequestOptions;
pop
10: StackMap locals: io.vertx.core.http.RequestOptions io.vertx.core.http.RequestOptions
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/RequestOptions;
0 11 1 other Lio/vertx/core/http/RequestOptions;
MethodParameters:
Name Flags
other
public void <init>(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
aload 0
invokestatic io.vertx.core.http.RequestOptionsConverter.fromJson:(Ljava/lang/Iterable;Lio/vertx/core/http/RequestOptions;)V
2: aload 1
ldc "server"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
astore 2
start local 2 3: aload 2
ifnull 12
4: aload 2
ldc "port"
bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;
astore 3
start local 3 5: aload 2
ldc "host"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 6: aload 2
ldc "path"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 4
ifnull 10
8: aload 0
aload 3
invokevirtual java.lang.Integer.intValue:()I
aload 4
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
putfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
9: goto 12
StackMap locals: io.vertx.core.http.RequestOptions io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject java.lang.Integer java.lang.String java.lang.String
StackMap stack:
10: aload 5
ifnull 12
11: aload 0
aload 5
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
putfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/core/http/RequestOptions;
0 13 1 json Lio/vertx/core/json/JsonObject;
3 13 2 server Lio/vertx/core/json/JsonObject;
5 12 3 port Ljava/lang/Integer;
6 12 4 host Ljava/lang/String;
7 12 5 path Ljava/lang/String;
MethodParameters:
Name Flags
json
public io.vertx.core.net.SocketAddress getServer();
descriptor: ()Lio/vertx/core/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setServer(io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/net/SocketAddress;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 server Lio/vertx/core/net/SocketAddress;
MethodParameters:
Name Flags
server
public io.vertx.core.http.HttpMethod getMethod();
descriptor: ()Lio/vertx/core/http/HttpMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.method:Lio/vertx/core/http/HttpMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setMethod(io.vertx.core.http.HttpMethod);
descriptor: (Lio/vertx/core/http/HttpMethod;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.method:Lio/vertx/core/http/HttpMethod;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 method Lio/vertx/core/http/HttpMethod;
MethodParameters:
Name Flags
method
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setHost(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.host:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 host Ljava/lang/String;
MethodParameters:
Name Flags
host
public java.lang.Integer getPort();
descriptor: ()Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.port:Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setPort(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.port:Ljava/lang/Integer;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 port Ljava/lang/Integer;
MethodParameters:
Name Flags
port
public java.lang.Boolean isSsl();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.ssl:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setSsl(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.ssl:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 ssl Ljava/lang/Boolean;
MethodParameters:
Name Flags
ssl
public java.lang.String getURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.uri:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setURI(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.uri:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public java.lang.Boolean getFollowRedirects();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.followRedirects:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setFollowRedirects(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield io.vertx.core.http.RequestOptions.followRedirects:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 followRedirects Ljava/lang/Boolean;
MethodParameters:
Name Flags
followRedirects
public long getTimeout();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.timeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.http.RequestOptions setTimeout(long);
descriptor: (J)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield io.vertx.core.http.RequestOptions.timeout:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 timeout J
MethodParameters:
Name Flags
timeout
private java.net.URL parseUrl(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 2
start local 2 3: new io.vertx.core.VertxException
dup
new java.lang.StringBuilder
dup
ldc "Invalid url: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/RequestOptions;
0 4 1 surl Ljava/lang/String;
3 4 2 e Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
MethodParameters:
Name Flags
surl
public io.vertx.core.http.RequestOptions setAbsoluteURI(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "Cannot set a null absolute URI"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual io.vertx.core.http.RequestOptions.parseUrl:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 2: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 3
start local 3 3: aload 2
invokevirtual java.net.URL.getPort:()I
istore 4
start local 4 4: aload 2
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 6
StackMap locals: java.net.URL java.lang.Boolean int
StackMap stack:
5: aload 2
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
6: astore 5
start local 5 7: aload 2
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
astore 6
start local 6 8: aload 6
dup
astore 7
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
3213448: 9
99617003: 10
default: 18
}
StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
9: aload 7
ldc "http"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 18
StackMap locals:
StackMap stack:
10: aload 7
ldc "https"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 18
11: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 19
12: bipush 80
istore 4
13: goto 19
14: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 3
15: iload 4
iconst_m1
if_icmpne 19
16: sipush 443
istore 4
17: goto 19
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield io.vertx.core.http.RequestOptions.uri:Ljava/lang/String;
20: aload 0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield io.vertx.core.http.RequestOptions.port:Ljava/lang/Integer;
21: aload 0
aload 3
putfield io.vertx.core.http.RequestOptions.ssl:Ljava/lang/Boolean;
22: aload 0
aload 2
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
putfield io.vertx.core.http.RequestOptions.host:Ljava/lang/String;
23: aload 0
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 24 0 this Lio/vertx/core/http/RequestOptions;
0 24 1 absoluteURI Ljava/lang/String;
2 24 2 url Ljava/net/URL;
3 24 3 ssl Ljava/lang/Boolean;
4 24 4 port I
7 24 5 relativeUri Ljava/lang/String;
8 24 6 protocol Ljava/lang/String;
MethodParameters:
Name Flags
absoluteURI
public io.vertx.core.http.RequestOptions (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.RequestOptions.addHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/RequestOptions;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
0 1 1 key Ljava/lang/String;
0 1 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.RequestOptions (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.vertx.core.http.RequestOptions.checkHeaders:()V
1: aload 1
ldc "no null key accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
ldc "no null value accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.add:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/MultiMap;
pop
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/RequestOptions;
0 5 1 key Ljava/lang/CharSequence;
0 5 2 value Ljava/lang/CharSequence;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.RequestOptions addHeader(java.lang.CharSequence, java.lang.Iterable<java.lang.CharSequence>);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.vertx.core.http.RequestOptions.checkHeaders:()V
1: aload 1
ldc "no null key accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
ldc "no null values accepted"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.add:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/MultiMap;
pop
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/RequestOptions;
0 5 1 key Ljava/lang/CharSequence;
0 5 2 values Ljava/lang/Iterable<Ljava/lang/CharSequence;>;
Signature: (Ljava/lang/CharSequence;Ljava/lang/Iterable<Ljava/lang/CharSequence;>;)Lio/vertx/core/http/RequestOptions;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
key
values
public io.vertx.core.http.RequestOptions (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual io.vertx.core.http.RequestOptions.putHeader:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/RequestOptions;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
0 1 1 key Ljava/lang/String;
0 1 2 value Ljava/lang/String;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.RequestOptions (java.lang.CharSequence, java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.vertx.core.http.RequestOptions.checkHeaders:()V
1: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lio/vertx/core/MultiMap;
pop
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/RequestOptions;
0 3 1 key Ljava/lang/CharSequence;
0 3 2 value Ljava/lang/CharSequence;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
key
value
public io.vertx.core.http.RequestOptions putHeader(java.lang.CharSequence, java.lang.Iterable<java.lang.CharSequence>);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/http/RequestOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.vertx.core.http.RequestOptions.checkHeaders:()V
1: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
aload 1
aload 2
invokeinterface io.vertx.core.MultiMap.set:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/vertx/core/MultiMap;
pop
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/RequestOptions;
0 3 1 key Ljava/lang/CharSequence;
0 3 2 values Ljava/lang/Iterable<Ljava/lang/CharSequence;>;
Signature: (Ljava/lang/CharSequence;Ljava/lang/Iterable<Ljava/lang/CharSequence;>;)Lio/vertx/core/http/RequestOptions;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
key
values
public io.vertx.core.http.RequestOptions (io.vertx.core.MultiMap);
descriptor: (Lio/vertx/core/MultiMap;)Lio/vertx/core/http/RequestOptions;
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.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/RequestOptions;
0 2 1 headers Lio/vertx/core/MultiMap;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
headers
public io.vertx.core.MultiMap ();
descriptor: ()Lio/vertx/core/MultiMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/RequestOptions;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
ifnonnull 2
1: aload 0
invokestatic io.vertx.core.MultiMap.caseInsensitiveMultiMap:()Lio/vertx/core/MultiMap;
putfield io.vertx.core.http.RequestOptions.headers:Lio/vertx/core/MultiMap;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/RequestOptions;
public io.vertx.core.json.JsonObject toJson();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic io.vertx.core.http.RequestOptionsConverter.toJson:(Lio/vertx/core/http/RequestOptions;Lio/vertx/core/json/JsonObject;)V
2: aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
ifnull 10
3: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 2
start local 2 4: aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.isInetSocket:()Z
ifeq 8
5: aload 2
ldc "host"
aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
6: aload 2
ldc "port"
aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.port:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
7: goto 9
8: StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject
StackMap stack:
aload 2
ldc "path"
aload 0
getfield io.vertx.core.http.RequestOptions.server:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
9: StackMap locals:
StackMap stack:
aload 1
ldc "server"
aload 2
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
end local 2 10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/core/http/RequestOptions;
1 11 1 json Lio/vertx/core/json/JsonObject;
4 10 2 server Lio/vertx/core/json/JsonObject;
}
SourceFile: "RequestOptions.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.DataObject(generateConverter = true)