org.glassfish.grizzly.filterchain
Interface NextAction


public interface NextAction

The interface defines the instruction for a FilterChain, how it should continue filter chain execution.

Author:
Alexey Stashok
See Also:
Filter, FilterChain

Method Summary
 List<Filter> getFilters()
          Get unmodifiable view of the list of Filters.
 int getNextFilterIdx()
          Gets index of the Filter in getFilters() list, which should be executed next.
 int type()
          Get NextAction type
 

Method Detail

type

int type()
Get NextAction type

Returns:
NextAction type

getFilters

List<Filter> getFilters()
Get unmodifiable view of the list of Filters.

Returns:
unmodifiable view of the list of Filters.

getNextFilterIdx

int getNextFilterIdx()
Gets index of the Filter in getFilters() list, which should be executed next.

Returns:
index of the Filter in getFilters() list, which should be executed next.


Copyright © 2009 SUN Microsystems. All Rights Reserved.