public class org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder extends java.lang.Object implements org.glassfish.grizzly.portunif.ProtocolFinder
{
private static final java.util.logging.Logger LOGGER;
private static final byte[] PROTOCOL_SCHEMA_BYTES;
public void <init>()
{
org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder v;
v := @this: org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public org.glassfish.grizzly.portunif.ProtocolFinder$Result find(org.glassfish.grizzly.portunif.PUContext, org.glassfish.grizzly.filterchain.FilterChainContext)
{
byte[] v, v, v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
byte v, v;
int v, v, v, v, v, v;
org.glassfish.grizzly.portunif.PUContext v;
org.glassfish.grizzly.portunif.ProtocolFinder$Result v, v, v;
org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder v;
java.lang.Object v;
v := @this: org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder;
v := @parameter: org.glassfish.grizzly.portunif.PUContext;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: java.lang.Object getMessage()>();
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int remaining()>();
v = <org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: byte[] PROTOCOL_SCHEMA_BYTES>;
v = lengthof v;
if v >= v goto label;
v = <org.glassfish.grizzly.portunif.ProtocolFinder$Result: org.glassfish.grizzly.portunif.ProtocolFinder$Result NEED_MORE_DATA>;
return v;
label:
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = 0;
label:
v = <org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: byte[] PROTOCOL_SCHEMA_BYTES>;
v = lengthof v;
if v >= v goto label;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = <org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: byte[] PROTOCOL_SCHEMA_BYTES>;
v = v[v];
if v == v goto label;
v = <org.glassfish.grizzly.portunif.ProtocolFinder$Result: org.glassfish.grizzly.portunif.ProtocolFinder$Result NOT_FOUND>;
return v;
label:
v = v + 1;
goto label;
label:
v = <org.glassfish.grizzly.portunif.ProtocolFinder$Result: org.glassfish.grizzly.portunif.ProtocolFinder$Result FOUND>;
return v;
}
static void <clinit>()
{
byte[] v;
java.lang.String v, v;
java.util.logging.Logger v, v;
java.io.UnsupportedEncodingException v;
java.util.logging.Level v;
v = staticinvoke <org.glassfish.webservices.transport.tcp.LogUtils: java.util.logging.Logger getLogger()>();
<org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: java.util.logging.Logger LOGGER> = v;
label:
v = "vnd.sun.ws.tcp";
v = virtualinvoke v.<java.lang.String: byte[] getBytes(java.lang.String)>("US-ASCII");
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: java.util.logging.Logger LOGGER>;
v = <java.util.logging.Level: java.util.logging.Level WARNING>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Throwable)>(v, "AS-WSSOAPTCP-00002", v);
v = "vnd.sun.ws.tcp";
v = virtualinvoke v.<java.lang.String: byte[] getBytes()>();
label:
<org.glassfish.webservices.transport.tcp.WSTCPProtocolFinder: byte[] PROTOCOL_SCHEMA_BYTES> = v;
return;
catch java.io.UnsupportedEncodingException from label to label with label;
}
}