com.sun.grizzly.http
Interface AsyncFilter

All Known Implementing Classes:
CometAsyncFilter, RubyRuntimeAsyncFilter

public interface AsyncFilter

An interface marker used to execute operations before a AsycnProcesssorTask in pre/post or interrupted. Usualy, implementation of this interface is called by an instance of AsyncExecutor. Implementation of this interface must be thread-safe.

Author:
Jeanfrancois Arcand

Method Summary
 boolean doFilter(AsyncExecutor asyncExecutor)
          Execute and return true if the next AsyncFilter can be invoked.
 

Method Detail

doFilter

boolean doFilter(AsyncExecutor asyncExecutor)
Execute and return true if the next AsyncFilter can be invoked. Return false to stop calling the AsyncFilter.



Copyright © 2010 SUN Microsystems. All Rights Reserved.