com.sun.xml.ws.transport.tcp.grizzly
Class WSTCPProtocolHandler
java.lang.Object
com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolHandler
- All Implemented Interfaces:
- com.sun.enterprise.web.portunif.ProtocolHandler
public final class WSTCPProtocolHandler
- extends Object
- implements com.sun.enterprise.web.portunif.ProtocolHandler
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTCPProtocolHandler
public WSTCPProtocolHandler()
setIncomingMessageProcessor
public static void setIncomingMessageProcessor(IncomeMessageProcessor processor)
getProtocols
public String[] getProtocols()
- Specified by:
getProtocols in interface com.sun.enterprise.web.portunif.ProtocolHandler
handle
public void handle(com.sun.enterprise.web.portunif.util.ProtocolInfo tupple)
throws IOException
- Specified by:
handle in interface com.sun.enterprise.web.portunif.ProtocolHandler
- Throws:
IOException
expireKey
public boolean expireKey(SelectionKey key)
- Invoked when the SelectorThread is about to expire a SelectionKey.
- Specified by:
expireKey in interface com.sun.enterprise.web.portunif.ProtocolHandler
- Returns:
- true if the SelectorThread should expire the SelectionKey, false
if not.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.