public class io.vertx.core.http.RequestOptions extends java.lang.Object
{
public static final io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS;
public static final io.vertx.core.net.SocketAddress DEFAULT_SERVER;
public static final io.vertx.core.http.HttpMethod DEFAULT_HTTP_METHOD;
public static final java.lang.String DEFAULT_HOST;
public static final java.lang.Integer DEFAULT_PORT;
public static final java.lang.Boolean DEFAULT_SSL;
public static final java.lang.String DEFAULT_URI;
public static final boolean DEFAULT_FOLLOW_REDIRECTS;
public static final long DEFAULT_TIMEOUT;
private io.vertx.core.net.ProxyOptions proxyOptions;
private io.vertx.core.net.SocketAddress server;
private io.vertx.core.http.HttpMethod method;
private java.lang.String host;
private java.lang.Integer port;
private java.lang.Boolean ssl;
private java.lang.String uri;
private io.vertx.core.MultiMap headers;
private boolean followRedirects;
private long timeout;
private java.lang.String traceOperation;
public void <init>()
{
io.vertx.core.net.ProxyOptions v;
io.vertx.core.http.HttpMethod v;
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
java.lang.String v;
java.lang.Integer v;
io.vertx.core.net.SocketAddress v;
v := @this: io.vertx.core.http.RequestOptions;
specialinvoke v.<java.lang.Object: void <init>()>();
v = <io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS>;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions proxyOptions> = v;
v = <io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress DEFAULT_SERVER>;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server> = v;
v = <io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod DEFAULT_HTTP_METHOD>;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method> = v;
v = <io.vertx.core.http.RequestOptions: java.lang.String DEFAULT_HOST>;
v.<io.vertx.core.http.RequestOptions: java.lang.String host> = v;
v = <io.vertx.core.http.RequestOptions: java.lang.Integer DEFAULT_PORT>;
v.<io.vertx.core.http.RequestOptions: java.lang.Integer port> = v;
v = <io.vertx.core.http.RequestOptions: java.lang.Boolean DEFAULT_SSL>;
v.<io.vertx.core.http.RequestOptions: java.lang.Boolean ssl> = v;
v.<io.vertx.core.http.RequestOptions: java.lang.String uri> = "/";
v.<io.vertx.core.http.RequestOptions: boolean followRedirects> = 0;
v.<io.vertx.core.http.RequestOptions: long timeout> = 0L;
v.<io.vertx.core.http.RequestOptions: java.lang.String traceOperation> = null;
return;
}
public void <init>(io.vertx.core.http.RequestOptions)
{
io.vertx.core.MultiMap v, v, v, v;
io.vertx.core.http.RequestOptions v, v;
long v;
java.lang.Integer v;
java.lang.Boolean v, v;
java.lang.String v, v, v;
boolean v;
io.vertx.core.net.SocketAddress v;
io.vertx.core.net.ProxyOptions v;
io.vertx.core.http.HttpMethod v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.http.RequestOptions;
specialinvoke v.<java.lang.Object: void <init>()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions proxyOptions>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setProxyOptions(io.vertx.core.net.ProxyOptions)>(v);
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setServer(io.vertx.core.net.SocketAddress)>(v);
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setMethod(io.vertx.core.http.HttpMethod)>(v);
v = v.<io.vertx.core.http.RequestOptions: java.lang.String host>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setHost(java.lang.String)>(v);
v = v.<io.vertx.core.http.RequestOptions: java.lang.Integer port>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setPort(java.lang.Integer)>(v);
v = v.<io.vertx.core.http.RequestOptions: java.lang.Boolean ssl>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setSsl(java.lang.Boolean)>(v);
v = v.<io.vertx.core.http.RequestOptions: java.lang.String uri>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setURI(java.lang.String)>(v);
v = v.<io.vertx.core.http.RequestOptions: boolean followRedirects>;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setFollowRedirects(java.lang.Boolean)>(v);
v = v.<io.vertx.core.http.RequestOptions: long timeout>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setTimeout(long)>(v);
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
if v == null goto label;
v = staticinvoke <io.vertx.core.MultiMap: io.vertx.core.MultiMap caseInsensitiveMultiMap()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
v = interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap setAll(io.vertx.core.MultiMap)>(v);
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setHeaders(io.vertx.core.MultiMap)>(v);
label:
v = v.<io.vertx.core.http.RequestOptions: java.lang.String traceOperation>;
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setTraceOperation(java.lang.String)>(v);
return;
}
public void <init>(io.vertx.core.json.JsonObject)
{
io.vertx.core.http.RequestOptions v;
java.lang.Integer v, v;
int v;
io.vertx.core.json.JsonObject v, v, v;
java.lang.String v, v, v;
boolean v, v, v, v, v;
io.vertx.core.net.SocketAddress v, v;
java.util.Iterator v, v;
io.vertx.core.http.HttpMethod v;
java.lang.Object v, v, v, v, v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.http.RequestOptions: void <init>()>();
staticinvoke <io.vertx.core.http.RequestOptionsConverter: void fromJson(java.lang.Iterable,io.vertx.core.http.RequestOptions)>(v, v);
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.lang.String getString(java.lang.String)>("method");
if v == null goto label;
v = staticinvoke <io.vertx.core.http.HttpMethod: io.vertx.core.http.HttpMethod valueOf(java.lang.String)>(v);
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setMethod(io.vertx.core.http.HttpMethod)>(v);
label:
v = virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject getJsonObject(java.lang.String)>("server");
if v == null goto label;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(80);
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.lang.Integer getInteger(java.lang.String,java.lang.Integer)>("port", v);
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.lang.String getString(java.lang.String)>("host");
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.lang.String getString(java.lang.String)>("path");
if v == null goto label;
v = virtualinvoke v.<java.lang.Integer: int intValue()>();
v = staticinvoke <io.vertx.core.net.SocketAddress: io.vertx.core.net.SocketAddress inetSocketAddress(int,java.lang.String)>(v, v);
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server> = v;
goto label;
label:
if v == null goto label;
v = staticinvoke <io.vertx.core.net.SocketAddress: io.vertx.core.net.SocketAddress domainSocketAddress(java.lang.String)>(v);
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server> = v;
label:
v = virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject getJsonObject(java.lang.String)>("headers");
if v == null goto label;
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = v instanceof java.lang.String;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions addHeader(java.lang.String,java.lang.String)>(v, v);
goto label;
label:
v = v instanceof java.lang.Iterable;
if v == 0 goto label;
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v instanceof java.lang.String;
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions addHeader(java.lang.String,java.lang.String)>(v, v);
goto label;
label:
return;
}
public io.vertx.core.net.ProxyOptions getProxyOptions()
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.net.ProxyOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions proxyOptions>;
return v;
}
public io.vertx.core.http.RequestOptions setProxyOptions(io.vertx.core.net.ProxyOptions)
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.net.ProxyOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.net.ProxyOptions;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions proxyOptions> = v;
return v;
}
public io.vertx.core.net.SocketAddress getServer()
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.net.SocketAddress v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
return v;
}
public io.vertx.core.http.RequestOptions setServer(io.vertx.core.net.SocketAddress)
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.net.SocketAddress v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.net.SocketAddress;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server> = v;
return v;
}
public io.vertx.core.http.HttpMethod getMethod()
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.http.HttpMethod v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method>;
return v;
}
public io.vertx.core.http.RequestOptions setMethod(io.vertx.core.http.HttpMethod)
{
io.vertx.core.http.RequestOptions v;
io.vertx.core.http.HttpMethod v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.http.HttpMethod;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method> = v;
return v;
}
public java.lang.String getHost()
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: java.lang.String host>;
return v;
}
public io.vertx.core.http.RequestOptions setHost(java.lang.String)
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.RequestOptions: java.lang.String host> = v;
return v;
}
public java.lang.Integer getPort()
{
io.vertx.core.http.RequestOptions v;
java.lang.Integer v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: java.lang.Integer port>;
return v;
}
public io.vertx.core.http.RequestOptions setPort(java.lang.Integer)
{
io.vertx.core.http.RequestOptions v;
java.lang.Integer v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.Integer;
v.<io.vertx.core.http.RequestOptions: java.lang.Integer port> = v;
return v;
}
public java.lang.Boolean isSsl()
{
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: java.lang.Boolean ssl>;
return v;
}
public io.vertx.core.http.RequestOptions setSsl(java.lang.Boolean)
{
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.Boolean;
v.<io.vertx.core.http.RequestOptions: java.lang.Boolean ssl> = v;
return v;
}
public java.lang.String getURI()
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: java.lang.String uri>;
return v;
}
public io.vertx.core.http.RequestOptions setURI(java.lang.String)
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.RequestOptions: java.lang.String uri> = v;
return v;
}
public java.lang.Boolean getFollowRedirects()
{
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
boolean v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: boolean followRedirects>;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
return v;
}
public io.vertx.core.http.RequestOptions setFollowRedirects(java.lang.Boolean)
{
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
boolean v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.Boolean;
v = virtualinvoke v.<java.lang.Boolean: boolean booleanValue()>();
v.<io.vertx.core.http.RequestOptions: boolean followRedirects> = v;
return v;
}
public long getTimeout()
{
io.vertx.core.http.RequestOptions v;
long v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: long timeout>;
return v;
}
public io.vertx.core.http.RequestOptions setTimeout(long)
{
io.vertx.core.http.RequestOptions v;
long v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: long;
v.<io.vertx.core.http.RequestOptions: long timeout> = v;
return v;
}
private java.net.URL parseUrl(java.lang.String)
{
io.vertx.core.VertxException v;
java.net.MalformedURLException v;
java.net.URL v;
io.vertx.core.http.RequestOptions v;
java.lang.String v, v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
label:
v = new java.net.URL;
specialinvoke v.<java.net.URL: void <init>(java.lang.String)>(v);
label:
return v;
label:
v := @caughtexception;
v = new io.vertx.core.VertxException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Invalid url: \u0001");
specialinvoke v.<io.vertx.core.VertxException: void <init>(java.lang.String,java.lang.Throwable)>(v, v);
throw v;
catch java.net.MalformedURLException from label to label with label;
}
public io.vertx.core.http.RequestOptions setAbsoluteURI(java.lang.String)
{
java.net.URL v;
io.vertx.core.http.RequestOptions v, v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "Cannot set a null absolute URI");
v = specialinvoke v.<io.vertx.core.http.RequestOptions: java.net.URL parseUrl(java.lang.String)>(v);
v = virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setAbsoluteURI(java.net.URL)>(v);
return v;
}
public io.vertx.core.http.RequestOptions setAbsoluteURI(java.net.URL)
{
java.net.URL v;
io.vertx.core.http.RequestOptions v;
java.lang.Integer v;
byte v;
int v, v, v, v;
java.lang.Boolean v;
java.lang.String v, v, v, v, v, v;
boolean v, v, v;
java.lang.IllegalArgumentException v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.net.URL;
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "Cannot set a null absolute URI");
v = <java.lang.Boolean: java.lang.Boolean FALSE>;
v = virtualinvoke v.<java.net.URL: int getPort()>();
v = virtualinvoke v.<java.net.URL: java.lang.String getPath()>();
v = virtualinvoke v.<java.lang.String: boolean isEmpty()>();
if v == 0 goto label;
v = virtualinvoke v.<java.net.URL: java.lang.String getFile()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("/\u0001");
goto label;
label:
v = virtualinvoke v.<java.net.URL: java.lang.String getFile()>();
label:
v = v;
v = virtualinvoke v.<java.net.URL: java.lang.String getProtocol()>();
v = -1;
v = virtualinvoke v.<java.lang.String: int hashCode()>();
lookupswitch(v)
{
case 3213448: goto label;
case 99617003: goto label;
default: goto label;
};
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("http");
if v == 0 goto label;
v = 0;
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>("https");
if v == 0 goto label;
v = 1;
label:
lookupswitch(v)
{
case 0: goto label;
case 1: goto label;
default: goto label;
};
label:
v = (int) -1;
if v != v goto label;
v = 80;
goto label;
label:
v = <java.lang.Boolean: java.lang.Boolean TRUE>;
v = (int) -1;
if v != v goto label;
v = 443;
goto label;
label:
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>()>();
throw v;
label:
v.<io.vertx.core.http.RequestOptions: java.lang.String uri> = v;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v.<io.vertx.core.http.RequestOptions: java.lang.Integer port> = v;
v.<io.vertx.core.http.RequestOptions: java.lang.Boolean ssl> = v;
v = virtualinvoke v.<java.net.URL: java.lang.String getHost()>();
v.<io.vertx.core.http.RequestOptions: java.lang.String host> = v;
return v;
}
public io.vertx.core.http.RequestOptions addHeader(java.lang.String, java.lang.String)
{
io.vertx.core.http.RequestOptions v, v;
java.lang.String v, v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions addHeader(java.lang.CharSequence,java.lang.CharSequence)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions addHeader(java.lang.CharSequence, java.lang.CharSequence)
{
java.lang.CharSequence v, v;
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.CharSequence;
specialinvoke v.<io.vertx.core.http.RequestOptions: void checkHeaders()>();
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null key accepted");
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null value accepted");
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap add(java.lang.CharSequence,java.lang.CharSequence)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions addHeader(java.lang.CharSequence, java.lang.Iterable)
{
java.lang.CharSequence v;
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
java.lang.Iterable v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.Iterable;
specialinvoke v.<io.vertx.core.http.RequestOptions: void checkHeaders()>();
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null key accepted");
staticinvoke <java.util.Objects: java.lang.Object requireNonNull(java.lang.Object,java.lang.String)>(v, "no null values accepted");
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap add(java.lang.CharSequence,java.lang.Iterable)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions putHeader(java.lang.String, java.lang.String)
{
io.vertx.core.http.RequestOptions v, v;
java.lang.String v, v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions putHeader(java.lang.CharSequence,java.lang.CharSequence)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions putHeader(java.lang.CharSequence, java.lang.CharSequence)
{
java.lang.CharSequence v, v;
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.CharSequence;
specialinvoke v.<io.vertx.core.http.RequestOptions: void checkHeaders()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap set(java.lang.CharSequence,java.lang.CharSequence)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions putHeader(java.lang.CharSequence, java.lang.Iterable)
{
java.lang.CharSequence v;
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
java.lang.Iterable v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.Iterable;
specialinvoke v.<io.vertx.core.http.RequestOptions: void checkHeaders()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap set(java.lang.CharSequence,java.lang.Iterable)>(v, v);
return v;
}
public io.vertx.core.http.RequestOptions removeHeader(java.lang.String)
{
io.vertx.core.http.RequestOptions v, v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v = virtualinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions removeHeader(java.lang.CharSequence)>(v);
return v;
}
public io.vertx.core.http.RequestOptions removeHeader(java.lang.CharSequence)
{
java.lang.CharSequence v;
io.vertx.core.MultiMap v, v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.CharSequence;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
if v == null goto label;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
interfaceinvoke v.<io.vertx.core.MultiMap: io.vertx.core.MultiMap remove(java.lang.CharSequence)>(v);
label:
return v;
}
public io.vertx.core.http.RequestOptions setHeaders(io.vertx.core.MultiMap)
{
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: io.vertx.core.MultiMap;
v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers> = v;
return v;
}
public io.vertx.core.MultiMap getHeaders()
{
io.vertx.core.MultiMap v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
return v;
}
private void checkHeaders()
{
io.vertx.core.MultiMap v, v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
if v != null goto label;
v = staticinvoke <io.vertx.core.http.HttpHeaders: io.vertx.core.MultiMap headers()>();
v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers> = v;
label:
return;
}
public java.lang.String getTraceOperation()
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v = v.<io.vertx.core.http.RequestOptions: java.lang.String traceOperation>;
return v;
}
public io.vertx.core.http.RequestOptions setTraceOperation(java.lang.String)
{
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.RequestOptions;
v := @parameter: java.lang.String;
v.<io.vertx.core.http.RequestOptions: java.lang.String traceOperation> = v;
return v;
}
public io.vertx.core.json.JsonObject toJson()
{
io.vertx.core.MultiMap v, v, v;
io.vertx.core.http.RequestOptions v;
java.lang.Integer v;
int v, v;
io.vertx.core.json.JsonObject v, v, v;
java.lang.String v, v, v;
boolean v, v;
io.vertx.core.net.SocketAddress v, v, v, v, v;
java.util.Iterator v, v;
java.util.Set v;
java.util.List v;
io.vertx.core.http.HttpMethod v, v;
java.lang.Object v, v;
v := @this: io.vertx.core.http.RequestOptions;
v = new io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.json.JsonObject: void <init>()>();
staticinvoke <io.vertx.core.http.RequestOptionsConverter: void toJson(io.vertx.core.http.RequestOptions,io.vertx.core.json.JsonObject)>(v, v);
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method>;
if v == null goto label;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod method>;
v = virtualinvoke v.<io.vertx.core.http.HttpMethod: java.lang.String name()>();
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("method", v);
label:
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
if v == null goto label;
v = new io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.json.JsonObject: void <init>()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
v = interfaceinvoke v.<io.vertx.core.net.SocketAddress: boolean isInetSocket()>();
if v == 0 goto label;
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
v = interfaceinvoke v.<io.vertx.core.net.SocketAddress: java.lang.String host()>();
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("host", v);
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
v = interfaceinvoke v.<io.vertx.core.net.SocketAddress: int port()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("port", v);
goto label;
label:
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress server>;
v = interfaceinvoke v.<io.vertx.core.net.SocketAddress: java.lang.String path()>();
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("path", v);
label:
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("server", v);
label:
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
if v == null goto label;
v = new io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.json.JsonObject: void <init>()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
v = interfaceinvoke v.<io.vertx.core.MultiMap: java.util.Set names()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<io.vertx.core.http.RequestOptions: io.vertx.core.MultiMap headers>;
v = interfaceinvoke v.<io.vertx.core.MultiMap: java.util.List getAll(java.lang.String)>(v);
v = interfaceinvoke v.<java.util.List: int size()>();
if v != 1 goto label;
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>(v, v);
goto label;
label:
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>(v, v);
goto label;
label:
virtualinvoke v.<io.vertx.core.json.JsonObject: io.vertx.core.json.JsonObject put(java.lang.String,java.lang.Object)>("headers", v);
label:
return v;
}
static void <clinit>()
{
io.vertx.core.http.HttpMethod v;
<io.vertx.core.http.RequestOptions: io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS> = null;
<io.vertx.core.http.RequestOptions: io.vertx.core.net.SocketAddress DEFAULT_SERVER> = null;
v = <io.vertx.core.http.HttpMethod: io.vertx.core.http.HttpMethod GET>;
<io.vertx.core.http.RequestOptions: io.vertx.core.http.HttpMethod DEFAULT_HTTP_METHOD> = v;
<io.vertx.core.http.RequestOptions: java.lang.String DEFAULT_HOST> = null;
<io.vertx.core.http.RequestOptions: java.lang.Integer DEFAULT_PORT> = null;
<io.vertx.core.http.RequestOptions: java.lang.Boolean DEFAULT_SSL> = null;
return;
}
}