Class WSTCPProtocolFinder
java.lang.Object
com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolFinder
- All Implemented Interfaces:
ProtocolFinder
A
ProtocolFinder implementation 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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.grizzly.portunif.ProtocolFinder
ProtocolFinder.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfind(PUContext puContext, FilterChainContext ctx) Try to find the protocol from theSocketChannelbytes.
-
Constructor Details
-
WSTCPProtocolFinder
public WSTCPProtocolFinder()
-
-
Method Details
-
find
Try to find the protocol from theSocketChannelbytes.- Specified by:
findin interfaceProtocolFinder- Parameters:
ctx- filter chain context- Returns:
- ProtocolInfo The ProtocolInfo that contains the information about the current protocol.
-