public final class io.netty.handler.codec.ProtocolDetectionResult extends java.lang.Object
{
private static final io.netty.handler.codec.ProtocolDetectionResult NEEDS_MORE_DATA;
private static final io.netty.handler.codec.ProtocolDetectionResult INVALID;
private final io.netty.handler.codec.ProtocolDetectionState state;
private final java.lang.Object result;
public static io.netty.handler.codec.ProtocolDetectionResult needsMoreData()
{
io.netty.handler.codec.ProtocolDetectionResult v;
v = <io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionResult NEEDS_MORE_DATA>;
return v;
}
public static io.netty.handler.codec.ProtocolDetectionResult invalid()
{
io.netty.handler.codec.ProtocolDetectionResult v;
v = <io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionResult INVALID>;
return v;
}
public static io.netty.handler.codec.ProtocolDetectionResult detected(java.lang.Object)
{
io.netty.handler.codec.ProtocolDetectionResult v;
java.lang.Object v, v;
io.netty.handler.codec.ProtocolDetectionState v;
v := @parameter: java.lang.Object;
v = new io.netty.handler.codec.ProtocolDetectionResult;
v = <io.netty.handler.codec.ProtocolDetectionState: io.netty.handler.codec.ProtocolDetectionState DETECTED>;
v = staticinvoke <io.netty.util.internal.ObjectUtil: java.lang.Object checkNotNull(java.lang.Object,java.lang.String)>(v, "protocol");
specialinvoke v.<io.netty.handler.codec.ProtocolDetectionResult: void <init>(io.netty.handler.codec.ProtocolDetectionState,java.lang.Object)>(v, v);
return v;
}
private void <init>(io.netty.handler.codec.ProtocolDetectionState, java.lang.Object)
{
java.lang.Object v;
io.netty.handler.codec.ProtocolDetectionResult v;
io.netty.handler.codec.ProtocolDetectionState v;
v := @this: io.netty.handler.codec.ProtocolDetectionResult;
v := @parameter: io.netty.handler.codec.ProtocolDetectionState;
v := @parameter: java.lang.Object;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionState state> = v;
v.<io.netty.handler.codec.ProtocolDetectionResult: java.lang.Object result> = v;
return;
}
public io.netty.handler.codec.ProtocolDetectionState state()
{
io.netty.handler.codec.ProtocolDetectionResult v;
io.netty.handler.codec.ProtocolDetectionState v;
v := @this: io.netty.handler.codec.ProtocolDetectionResult;
v = v.<io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionState state>;
return v;
}
public java.lang.Object detectedProtocol()
{
java.lang.Object v;
io.netty.handler.codec.ProtocolDetectionResult v;
v := @this: io.netty.handler.codec.ProtocolDetectionResult;
v = v.<io.netty.handler.codec.ProtocolDetectionResult: java.lang.Object result>;
return v;
}
static void <clinit>()
{
io.netty.handler.codec.ProtocolDetectionResult v, v;
io.netty.handler.codec.ProtocolDetectionState v, v;
v = new io.netty.handler.codec.ProtocolDetectionResult;
v = <io.netty.handler.codec.ProtocolDetectionState: io.netty.handler.codec.ProtocolDetectionState NEEDS_MORE_DATA>;
specialinvoke v.<io.netty.handler.codec.ProtocolDetectionResult: void <init>(io.netty.handler.codec.ProtocolDetectionState,java.lang.Object)>(v, null);
<io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionResult NEEDS_MORE_DATA> = v;
v = new io.netty.handler.codec.ProtocolDetectionResult;
v = <io.netty.handler.codec.ProtocolDetectionState: io.netty.handler.codec.ProtocolDetectionState INVALID>;
specialinvoke v.<io.netty.handler.codec.ProtocolDetectionResult: void <init>(io.netty.handler.codec.ProtocolDetectionState,java.lang.Object)>(v, null);
<io.netty.handler.codec.ProtocolDetectionResult: io.netty.handler.codec.ProtocolDetectionResult INVALID> = v;
return;
}
}