public class io.vertx.core.http.Http2Settings extends java.lang.Object
{
public static final long DEFAULT_HEADER_TABLE_SIZE;
public static final boolean DEFAULT_ENABLE_PUSH;
public static final long DEFAULT_MAX_CONCURRENT_STREAMS;
public static final int DEFAULT_INITIAL_WINDOW_SIZE;
public static final int DEFAULT_MAX_FRAME_SIZE;
public static final int DEFAULT_MAX_HEADER_LIST_SIZE;
public static final java.util.Map DEFAULT_EXTRA_SETTINGS;
private long headerTableSize;
private boolean pushEnabled;
private long maxConcurrentStreams;
private int initialWindowSize;
private int maxFrameSize;
private long maxHeaderListSize;
private java.util.Map extraSettings;
public void <init>()
{
int v;
io.vertx.core.http.Http2Settings v;
java.util.Map v;
v := @this: io.vertx.core.http.Http2Settings;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.vertx.core.http.Http2Settings: long headerTableSize> = 4096L;
v.<io.vertx.core.http.Http2Settings: boolean pushEnabled> = 1;
v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams> = 4294967295L;
v = (int) 65535;
v.<io.vertx.core.http.Http2Settings: int initialWindowSize> = v;
v.<io.vertx.core.http.Http2Settings: int maxFrameSize> = 16384;
v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize> = 8192L;
v = <io.vertx.core.http.Http2Settings: java.util.Map DEFAULT_EXTRA_SETTINGS>;
v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings> = v;
return;
}
public void <init>(io.vertx.core.json.JsonObject)
{
io.vertx.core.json.JsonObject v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.http.Http2Settings: void <init>()>();
staticinvoke <io.vertx.core.http.Http2SettingsConverter: void fromJson(java.lang.Iterable,io.vertx.core.http.Http2Settings)>(v, v);
return;
}
public void <init>(io.vertx.core.http.Http2Settings)
{
java.util.HashMap v;
long v, v, v;
io.vertx.core.http.Http2Settings v, v;
java.util.Map v, v;
int v, v;
boolean v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: io.vertx.core.http.Http2Settings;
specialinvoke v.<java.lang.Object: void <init>()>();
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v.<io.vertx.core.http.Http2Settings: long headerTableSize> = v;
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
v.<io.vertx.core.http.Http2Settings: boolean pushEnabled> = v;
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams> = v;
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
v.<io.vertx.core.http.Http2Settings: int initialWindowSize> = v;
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
v.<io.vertx.core.http.Http2Settings: int maxFrameSize> = v;
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize> = v;
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
if v == null goto label;
v = new java.util.HashMap;
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
specialinvoke v.<java.util.HashMap: void <init>(java.util.Map)>(v);
goto label;
label:
v = null;
label:
v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings> = v;
return;
}
public long getHeaderTableSize()
{
long v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
return v;
}
public io.vertx.core.http.Http2Settings setHeaderTableSize(long)
{
byte v, v;
long v;
io.vertx.core.http.Http2Settings v;
boolean v, v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: long;
v = v cmp 0L;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "headerTableSize must be >= 0");
v = v cmp 4294967295L;
if v > 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "headerTableSize must be <= 4294967295");
v.<io.vertx.core.http.Http2Settings: long headerTableSize> = v;
return v;
}
public boolean isPushEnabled()
{
io.vertx.core.http.Http2Settings v;
boolean v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
return v;
}
public io.vertx.core.http.Http2Settings setPushEnabled(boolean)
{
io.vertx.core.http.Http2Settings v;
boolean v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: boolean;
v.<io.vertx.core.http.Http2Settings: boolean pushEnabled> = v;
return v;
}
public long getMaxConcurrentStreams()
{
long v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
return v;
}
public io.vertx.core.http.Http2Settings setMaxConcurrentStreams(long)
{
byte v, v;
long v;
io.vertx.core.http.Http2Settings v;
boolean v, v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: long;
v = v cmp 0L;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxConcurrentStreams must be >= 0");
v = v cmp 4294967295L;
if v > 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxConcurrentStreams must be < 4294967295");
v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams> = v;
return v;
}
public int getInitialWindowSize()
{
int v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
return v;
}
public io.vertx.core.http.Http2Settings setInitialWindowSize(int)
{
int v;
io.vertx.core.http.Http2Settings v;
boolean v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: int;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "initialWindowSize must be >= 0");
v.<io.vertx.core.http.Http2Settings: int initialWindowSize> = v;
return v;
}
public int getMaxFrameSize()
{
int v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
return v;
}
public io.vertx.core.http.Http2Settings setMaxFrameSize(int)
{
int v;
io.vertx.core.http.Http2Settings v;
boolean v, v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: int;
if v < 16384 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxFrameSize must be >= 16384");
if v > 16777215 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxFrameSize must be <= 16777215");
v.<io.vertx.core.http.Http2Settings: int maxFrameSize> = v;
return v;
}
public long getMaxHeaderListSize()
{
long v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
return v;
}
public io.vertx.core.http.Http2Settings setMaxHeaderListSize(long)
{
byte v, v;
long v;
io.vertx.core.http.Http2Settings v;
boolean v, v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: long;
v = v cmp 0L;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxHeaderListSize must be >= 0");
v = v cmp 0L;
if v < 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxHeaderListSize must be >= 0");
v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize> = v;
return v;
}
public java.util.Map getExtraSettings()
{
io.vertx.core.http.Http2Settings v;
java.util.Map v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
return v;
}
public io.vertx.core.http.Http2Settings setExtraSettings(java.util.Map)
{
io.vertx.core.http.Http2Settings v;
java.util.Map v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: java.util.Map;
v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings> = v;
return v;
}
public java.lang.Long get(int)
{
long v, v, v, v;
io.vertx.core.http.Http2Settings v;
java.lang.Integer v;
java.lang.Long v, v, v, v, v, v;
java.util.Map v, v;
int v, v, v;
boolean v;
java.lang.Object v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: int;
tableswitch(v)
{
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
case 6: goto label;
default: goto label;
};
label:
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
if v == 0 goto label;
v = 1L;
goto label;
label:
v = 0L;
label:
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
return v;
label:
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
if v == null goto label;
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
goto label;
label:
v = null;
label:
return v;
}
public io.vertx.core.http.Http2Settings set(int, long)
{
java.util.HashMap v;
long v;
io.vertx.core.http.Http2Settings v;
java.lang.Integer v;
byte v, v, v, v, v, v;
java.lang.Long v;
java.util.Map v, v;
int v, v, v;
boolean v, v, v, v, v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: int;
v := @parameter: long;
if v < 0 goto label;
v = (int) 65535;
if v > v goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "Setting id must me an unsigned 16-bit value");
v = v cmp 0L;
if v < 0 goto label;
v = v cmp 4294967295L;
if v > 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "Setting value must me an unsigned 32-bit value");
tableswitch(v)
{
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
case 6: goto label;
default: goto label;
};
label:
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setHeaderTableSize(long)>(v);
goto label;
label:
v = v cmp 0L;
if v == 0 goto label;
v = v cmp 1L;
if v != 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "enablePush must be 0 or 1");
v = v cmp 1L;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setPushEnabled(boolean)>(v);
goto label;
label:
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setMaxConcurrentStreams(long)>(v);
goto label;
label:
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setInitialWindowSize(int)>(v);
goto label;
label:
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setMaxFrameSize(int)>(v);
goto label;
label:
v = v cmp 2147483647L;
if v > 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.vertx.core.impl.Arguments: void require(boolean,java.lang.String)>(v, "maxHeaderListSize must be <= 2147483647");
virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.http.Http2Settings setMaxHeaderListSize(long)>(v);
goto label;
label:
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
if v != null goto label;
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings> = v;
label:
v = v.<io.vertx.core.http.Http2Settings: java.util.Map extraSettings>;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = staticinvoke <java.lang.Long: java.lang.Long valueOf(long)>(v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
label:
return v;
}
public boolean equals(java.lang.Object)
{
long v, v, v, v, v, v;
io.vertx.core.http.Http2Settings v;
byte v, v, v;
int v, v, v, v;
boolean v, v;
java.lang.Class v, v;
java.lang.Object v;
v := @this: io.vertx.core.http.Http2Settings;
v := @parameter: java.lang.Object;
if v != v goto label;
return 1;
label:
if v == null goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
if v == v goto label;
label:
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v = v cmp v;
if v == 0 goto label;
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
if v == v goto label;
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v = v cmp v;
if v == 0 goto label;
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
if v == v goto label;
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
if v == v goto label;
return 0;
label:
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v = v cmp v;
if v == 0 goto label;
return 0;
label:
return 1;
}
public int hashCode()
{
long v, v, v, v, v, v, v, v, v, v, v, v;
io.vertx.core.http.Http2Settings v;
int v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: io.vertx.core.http.Http2Settings;
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v = v.<io.vertx.core.http.Http2Settings: long headerTableSize>;
v = v >>> 32;
v = v ^ v;
v = 31 * v;
v = v.<io.vertx.core.http.Http2Settings: boolean pushEnabled>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = v + v;
v = 31 * v;
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v = v.<io.vertx.core.http.Http2Settings: long maxConcurrentStreams>;
v = v >>> 32;
v = v ^ v;
v = v + v;
v = 31 * v;
v = v.<io.vertx.core.http.Http2Settings: int initialWindowSize>;
v = v + v;
v = 31 * v;
v = v.<io.vertx.core.http.Http2Settings: int maxFrameSize>;
v = v + v;
v = 31 * v;
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v = v.<io.vertx.core.http.Http2Settings: long maxHeaderListSize>;
v = v >>> 32;
v = v ^ v;
v = v + v;
return v;
}
public java.lang.String toString()
{
io.vertx.core.json.JsonObject v;
io.vertx.core.http.Http2Settings v;
java.lang.String v;
v := @this: io.vertx.core.http.Http2Settings;
v = virtualinvoke v.<io.vertx.core.http.Http2Settings: io.vertx.core.json.JsonObject toJson()>();
v = virtualinvoke v.<io.vertx.core.json.JsonObject: java.lang.String encode()>();
return v;
}
public io.vertx.core.json.JsonObject toJson()
{
io.vertx.core.json.JsonObject v;
io.vertx.core.http.Http2Settings v;
v := @this: io.vertx.core.http.Http2Settings;
v = new io.vertx.core.json.JsonObject;
specialinvoke v.<io.vertx.core.json.JsonObject: void <init>()>();
staticinvoke <io.vertx.core.http.Http2SettingsConverter: void toJson(io.vertx.core.http.Http2Settings,io.vertx.core.json.JsonObject)>(v, v);
return v;
}
static void <clinit>()
{
<io.vertx.core.http.Http2Settings: java.util.Map DEFAULT_EXTRA_SETTINGS> = null;
return;
}
}