Class WSTCPProtocolFinder
- java.lang.Object
-
- com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolFinder
-
- All Implemented Interfaces:
org.glassfish.grizzly.portunif.ProtocolFinder
public final class WSTCPProtocolFinder extends Object implements org.glassfish.grizzly.portunif.ProtocolFinder
AProtocolFinderimplementation that parse the available SocketChannel bytes looking for the PROTOCOL_ID bytes. An SOAP/TCP request will always start with: vnd.sun.ws.tcp This object shoudn't be called by several threads simultaneously.- Author:
- Jeanfrancois Arcand, Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description WSTCPProtocolFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.grizzly.portunif.ProtocolFinder.Resultfind(org.glassfish.grizzly.portunif.PUContext puContext, org.glassfish.grizzly.filterchain.FilterChainContext ctx)Try to find the protocol from theSocketChannelbytes.
-
-
-
Method Detail
-
find
public org.glassfish.grizzly.portunif.ProtocolFinder.Result find(org.glassfish.grizzly.portunif.PUContext puContext, org.glassfish.grizzly.filterchain.FilterChainContext ctx)Try to find the protocol from theSocketChannelbytes.- Specified by:
findin interfaceorg.glassfish.grizzly.portunif.ProtocolFinder- Parameters:
puContext-ctx- filter chain context- Returns:
- ProtocolInfo The ProtocolInfo that contains the information about the current protocol.
-
-