public class io.vertx.core.http.WebSocketConnectOptions extends io.vertx.core.http.RequestOptions
{
public static final io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS;
public static final io.vertx.core.http.WebsocketVersion DEFAULT_VERSION;
public static final java.util.List DEFAULT_SUB_PROTOCOLS;
public static final boolean DEFAULT_ALLOW_ORIGIN_HEADER;
public static final boolean DEFAULT_REGISTER_WRITE_HANDLERS;
private io.vertx.core.net.ProxyOptions proxyOptions;
private io.vertx.core.http.WebsocketVersion version;
private java.util.List subProtocols;
private boolean allowOriginHeader;
private boolean registerWriteHandlers;
public void <init>()
{
io.vertx.core.net.ProxyOptions v;
java.util.List v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.WebsocketVersion v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
specialinvoke v.<io.vertx.core.http.RequestOptions: void <init>()>();
v = <io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS>;
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions> = v;
v = <io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion DEFAULT_VERSION>;
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion version> = v;
v = <io.vertx.core.http.WebSocketConnectOptions: java.util.List DEFAULT_SUB_PROTOCOLS>;
v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols> = v;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean allowOriginHeader> = 1;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean registerWriteHandlers> = 0;
return;
}
public void <init>(io.vertx.core.http.WebSocketConnectOptions)
{
io.vertx.core.net.ProxyOptions v, v, v;
io.vertx.core.http.WebsocketVersion v;
java.util.List v;
io.vertx.core.http.WebSocketConnectOptions v, v;
boolean v, v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: io.vertx.core.http.WebSocketConnectOptions;
specialinvoke v.<io.vertx.core.http.RequestOptions: void <init>(io.vertx.core.http.RequestOptions)>(v);
v = v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions>;
if v == null goto label;
v = new io.vertx.core.net.ProxyOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions>;
specialinvoke v.<io.vertx.core.net.ProxyOptions: void <init>(io.vertx.core.net.ProxyOptions)>(v);
goto label;
label:
v = null;
label:
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions> = v;
v = v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion version>;
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion version> = v;
v = v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols>;
v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols> = v;
v = v.<io.vertx.core.http.WebSocketConnectOptions: boolean allowOriginHeader>;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean allowOriginHeader> = v;
v = v.<io.vertx.core.http.WebSocketConnectOptions: boolean registerWriteHandlers>;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean registerWriteHandlers> = v;
return;
}
public void <init>(io.vertx.core.json.JsonObject)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.json.JsonObject v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.http.RequestOptions: void <init>(io.vertx.core.json.JsonObject)>(v);
staticinvoke <io.vertx.core.http.WebSocketConnectOptionsConverter: void fromJson(java.lang.Iterable,io.vertx.core.http.WebSocketConnectOptions)>(v, v);
return;
}
public io.vertx.core.http.WebsocketVersion getVersion()
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.WebsocketVersion v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion version>;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setVersion(io.vertx.core.http.WebsocketVersion)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.WebsocketVersion v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: io.vertx.core.http.WebsocketVersion;
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion version> = v;
return v;
}
public java.util.List getSubProtocols()
{
io.vertx.core.http.WebSocketConnectOptions v;
java.util.List v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols>;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setSubProtocols(java.util.List)
{
io.vertx.core.http.WebSocketConnectOptions v;
java.util.List v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.util.List;
v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols> = v;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions addSubProtocol(java.lang.String)
{
java.util.List v, v;
io.vertx.core.http.WebSocketConnectOptions v;
java.lang.String v;
java.util.ArrayList v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.String;
v = v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols>;
if v != null goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols> = v;
label:
v = v.<io.vertx.core.http.WebSocketConnectOptions: java.util.List subProtocols>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return v;
}
public io.vertx.core.net.ProxyOptions getProxyOptions()
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.net.ProxyOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions>;
return v;
}
public io.vertx.core.http.RequestOptions setProxyOptions(io.vertx.core.net.ProxyOptions)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.net.ProxyOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: io.vertx.core.net.ProxyOptions;
v.<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions proxyOptions> = v;
return v;
}
public boolean getAllowOriginHeader()
{
io.vertx.core.http.WebSocketConnectOptions v;
boolean v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: boolean allowOriginHeader>;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setAllowOriginHeader(boolean)
{
io.vertx.core.http.WebSocketConnectOptions v;
boolean v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: boolean;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean allowOriginHeader> = v;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setHost(java.lang.String)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.String;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setHost(java.lang.String)>(v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setPort(java.lang.Integer)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.Integer v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.Integer;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setPort(java.lang.Integer)>(v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setSsl(java.lang.Boolean)
{
io.vertx.core.http.WebSocketConnectOptions v;
java.lang.Boolean v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.Boolean;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setSsl(java.lang.Boolean)>(v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setURI(java.lang.String)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.String v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.String;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setURI(java.lang.String)>(v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setTimeout(long)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
long v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: long;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setTimeout(long)>(v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions addHeader(java.lang.String, java.lang.String)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.String v, v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions addHeader(java.lang.String,java.lang.String)>(v, v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions addHeader(java.lang.CharSequence, java.lang.CharSequence)
{
java.lang.CharSequence v, v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.CharSequence;
v = specialinvoke 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.WebSocketConnectOptions addHeader(java.lang.CharSequence, java.lang.Iterable)
{
java.lang.CharSequence v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.Iterable v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.Iterable;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions addHeader(java.lang.CharSequence,java.lang.Iterable)>(v, v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions putHeader(java.lang.String, java.lang.String)
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.String v, v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions putHeader(java.lang.String,java.lang.String)>(v, v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions putHeader(java.lang.CharSequence, java.lang.CharSequence)
{
java.lang.CharSequence v, v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.CharSequence;
v = specialinvoke 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.WebSocketConnectOptions putHeader(java.lang.CharSequence, java.lang.Iterable)
{
java.lang.CharSequence v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
java.lang.Iterable v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: java.lang.CharSequence;
v := @parameter: java.lang.Iterable;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions putHeader(java.lang.CharSequence,java.lang.Iterable)>(v, v);
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setHeaders(io.vertx.core.MultiMap)
{
io.vertx.core.MultiMap v;
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.http.RequestOptions v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: io.vertx.core.MultiMap;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.http.RequestOptions setHeaders(io.vertx.core.MultiMap)>(v);
return v;
}
public io.vertx.core.json.JsonObject toJson()
{
io.vertx.core.http.WebSocketConnectOptions v;
io.vertx.core.json.JsonObject v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = specialinvoke v.<io.vertx.core.http.RequestOptions: io.vertx.core.json.JsonObject toJson()>();
staticinvoke <io.vertx.core.http.WebSocketConnectOptionsConverter: void toJson(io.vertx.core.http.WebSocketConnectOptions,io.vertx.core.json.JsonObject)>(v, v);
return v;
}
public boolean isRegisterWriteHandlers()
{
io.vertx.core.http.WebSocketConnectOptions v;
boolean v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v = v.<io.vertx.core.http.WebSocketConnectOptions: boolean registerWriteHandlers>;
return v;
}
public io.vertx.core.http.WebSocketConnectOptions setRegisterWriteHandlers(boolean)
{
io.vertx.core.http.WebSocketConnectOptions v;
boolean v;
v := @this: io.vertx.core.http.WebSocketConnectOptions;
v := @parameter: boolean;
v.<io.vertx.core.http.WebSocketConnectOptions: boolean registerWriteHandlers> = v;
return v;
}
static void <clinit>()
{
io.vertx.core.http.WebsocketVersion v;
<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.net.ProxyOptions DEFAULT_PROXY_OPTIONS> = null;
v = <io.vertx.core.http.WebsocketVersion: io.vertx.core.http.WebsocketVersion V13>;
<io.vertx.core.http.WebSocketConnectOptions: io.vertx.core.http.WebsocketVersion DEFAULT_VERSION> = v;
<io.vertx.core.http.WebSocketConnectOptions: java.util.List DEFAULT_SUB_PROTOCOLS> = null;
return;
}
}