org.glassfish.grizzly.portunif
Class BackChannelFilter

java.lang.Object
  extended by org.glassfish.grizzly.filterchain.BaseFilter
      extended by org.glassfish.grizzly.portunif.BackChannelFilter
All Implemented Interfaces:
Filter

public class BackChannelFilter
extends BaseFilter

The Filter, which is responsible to connect custom protocol FilterChain with main FilterChain. Usually this Filter is getting added to the custom protocol FilterChain as first Filter.

Author:
Alexey Stashok

Method Summary
 void exceptionOccurred(FilterChainContext ctx, java.lang.Throwable error)
           
 NextAction handleEvent(FilterChainContext ctx, FilterChainEvent event)
           
 NextAction handleRead(FilterChainContext ctx)
           
 NextAction handleWrite(FilterChainContext ctx)
           
 
Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter
createContext, getFilterChain, getIndex, handleAccept, handleClose, handleConnect, onAdded, onFilterChainChanged, onRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handleRead

public NextAction handleRead(FilterChainContext ctx)
                      throws java.io.IOException
Specified by:
handleRead in interface Filter
Overrides:
handleRead in class BaseFilter
Throws:
java.io.IOException

handleWrite

public NextAction handleWrite(FilterChainContext ctx)
                       throws java.io.IOException
Specified by:
handleWrite in interface Filter
Overrides:
handleWrite in class BaseFilter
Throws:
java.io.IOException

handleEvent

public NextAction handleEvent(FilterChainContext ctx,
                              FilterChainEvent event)
                       throws java.io.IOException
Specified by:
handleEvent in interface Filter
Overrides:
handleEvent in class BaseFilter
Throws:
java.io.IOException

exceptionOccurred

public void exceptionOccurred(FilterChainContext ctx,
                              java.lang.Throwable error)
Specified by:
exceptionOccurred in interface Filter
Overrides:
exceptionOccurred in class BaseFilter


Copyright © 2011 Oracle Corpration. All Rights Reserved.