public final class io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig extends java.lang.Object
{
static final long DEFAULT_HANDSHAKE_TIMEOUT_MILLIS;
private final java.lang.String websocketPath;
private final java.lang.String subprotocols;
private final boolean checkStartsWith;
private final long handshakeTimeoutMillis;
private final long forceCloseTimeoutMillis;
private final boolean handleCloseFrames;
private final io.netty.handler.codec.http.websocketx.WebSocketCloseStatus sendCloseFrame;
private final boolean dropPongFrames;
private final io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig decoderConfig;
private void <init>(java.lang.String, java.lang.String, boolean, long, long, boolean, io.netty.handler.codec.http.websocketx.WebSocketCloseStatus, boolean, io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig)
{
io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig v, v;
io.netty.handler.codec.http.websocketx.WebSocketCloseStatus v;
long v, v, v;
java.lang.String v, v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
boolean v, v, v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: boolean;
v := @parameter: long;
v := @parameter: long;
v := @parameter: boolean;
v := @parameter: io.netty.handler.codec.http.websocketx.WebSocketCloseStatus;
v := @parameter: boolean;
v := @parameter: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String websocketPath> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String subprotocols> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean checkStartsWith> = v;
v = staticinvoke <io.netty.util.internal.ObjectUtil: long checkPositive(long,java.lang.String)>(v, "handshakeTimeoutMillis");
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long handshakeTimeoutMillis> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long forceCloseTimeoutMillis> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean handleCloseFrames> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketCloseStatus sendCloseFrame> = v;
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean dropPongFrames> = v;
if v != null goto label;
v = <io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig DEFAULT>;
goto label;
label:
v = v;
label:
v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig decoderConfig> = v;
return;
}
public java.lang.String websocketPath()
{
java.lang.String v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String websocketPath>;
return v;
}
public java.lang.String subprotocols()
{
java.lang.String v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String subprotocols>;
return v;
}
public boolean checkStartsWith()
{
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
boolean v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean checkStartsWith>;
return v;
}
public long handshakeTimeoutMillis()
{
long v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long handshakeTimeoutMillis>;
return v;
}
public long forceCloseTimeoutMillis()
{
long v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long forceCloseTimeoutMillis>;
return v;
}
public boolean handleCloseFrames()
{
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
boolean v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean handleCloseFrames>;
return v;
}
public io.netty.handler.codec.http.websocketx.WebSocketCloseStatus sendCloseFrame()
{
io.netty.handler.codec.http.websocketx.WebSocketCloseStatus v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketCloseStatus sendCloseFrame>;
return v;
}
public boolean dropPongFrames()
{
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
boolean v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean dropPongFrames>;
return v;
}
public io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig decoderConfig()
{
io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig decoderConfig>;
return v;
}
public java.lang.String toString()
{
io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig v;
io.netty.handler.codec.http.websocketx.WebSocketCloseStatus v;
long v, v;
java.lang.String v, v, v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
boolean v, v, v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String websocketPath>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: java.lang.String subprotocols>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean checkStartsWith>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long handshakeTimeoutMillis>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: long forceCloseTimeoutMillis>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean handleCloseFrames>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketCloseStatus sendCloseFrame>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: boolean dropPongFrames>;
v = v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig decoderConfig>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,boolean,long,long,boolean,io.netty.handler.codec.http.websocketx.WebSocketCloseStatus,boolean,io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig)>(v, v, v, v, v, v, v, v, 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[])>("WebSocketServerProtocolConfig {websocketPath=\u, subprotocols=\u, checkStartsWith=\u, handshakeTimeoutMillis=\u, forceCloseTimeoutMillis=\u, handleCloseFrames=\u, sendCloseFrame=\u, dropPongFrames=\u, decoderConfig=\u0001}");
return v;
}
public io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder toBuilder()
{
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig v;
v := @this: io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig;
v = new io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder;
specialinvoke v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder: void <init>(io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig)>(v);
return v;
}
public static io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder newBuilder()
{
io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig v;
io.netty.handler.codec.http.websocketx.WebSocketCloseStatus v;
io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder v;
v = new io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder;
v = <io.netty.handler.codec.http.websocketx.WebSocketCloseStatus: io.netty.handler.codec.http.websocketx.WebSocketCloseStatus NORMAL_CLOSURE>;
v = <io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig: io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig DEFAULT>;
specialinvoke v.<io.netty.handler.codec.http.websocketx.WebSocketServerProtocolConfig$Builder: void <init>(java.lang.String,java.lang.String,boolean,long,long,boolean,io.netty.handler.codec.http.websocketx.WebSocketCloseStatus,boolean,io.netty.handler.codec.http.websocketx.WebSocketDecoderConfig)>("/", null, 0, 10000L, 0L, 1, v, 1, v);
return v;
}
}