com.sun.xml.ws.transport.tcp.grizzly
Class WSTCPProtocolFinder
java.lang.Object
com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolFinder
- All Implemented Interfaces:
- com.sun.enterprise.web.portunif.ProtocolFinder
public final class WSTCPProtocolFinder
- extends Object
- implements com.sun.enterprise.web.portunif.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
|
Method Summary |
void |
find(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Try to find the protocol from the SocketChannel bytes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTCPProtocolFinder
public WSTCPProtocolFinder()
find
public void find(@NotNull
com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
throws IOException
- Try to find the protocol from the
SocketChannel bytes.
- Specified by:
find in interface com.sun.enterprise.web.portunif.ProtocolFinder
- Parameters:
selectionKey - The key from which the SocketChannel can be retrieved.
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.