Class WSTCPProtocolHandler

  • All Implemented Interfaces:
    org.glassfish.grizzly.filterchain.Filter

    public final class WSTCPProtocolHandler
    extends org.glassfish.grizzly.filterchain.BaseFilter
    Author:
    Alexey Stashok
    • 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:
        handleRead in interface org.glassfish.grizzly.filterchain.Filter
        Overrides:
        handleRead in class org.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.