Class WSTCPProtocolHandler
- java.lang.Object
-
- org.glassfish.grizzly.filterchain.BaseFilter
-
- com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolHandler
-
- All Implemented Interfaces:
org.glassfish.grizzly.filterchain.Filter
public final class WSTCPProtocolHandler extends org.glassfish.grizzly.filterchain.BaseFilter- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description WSTCPProtocolHandler(IncomeMessageProcessor processor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexpireKey(SelectionKey key)Invoked when the SelectorThread is about to expire a SelectionKey.String[]getProtocols()org.glassfish.grizzly.filterchain.NextActionhandle(org.glassfish.grizzly.filterchain.FilterChainContext ctx)org.glassfish.grizzly.filterchain.NextActionhandleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
-
-
-
Constructor Detail
-
WSTCPProtocolHandler
public WSTCPProtocolHandler(IncomeMessageProcessor processor)
-
-
Method Detail
-
getProtocols
public String[] getProtocols()
-
handle
public org.glassfish.grizzly.filterchain.NextAction handle(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException- Throws:
IOException
-
handleRead
public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext ctx) throws IOException- Specified by:
handleReadin interfaceorg.glassfish.grizzly.filterchain.Filter- Overrides:
handleReadin classorg.glassfish.grizzly.filterchain.BaseFilter- Throws:
IOException
-
expireKey
public boolean expireKey(SelectionKey key)
Invoked when the SelectorThread is about to expire a SelectionKey.- Returns:
- true if the SelectorThread should expire the SelectionKey, false if not.
-
-