|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IoFilterChain.Entry
Represents a name-filter pair that an IoFilterChain contains.
| Method Summary | |
|---|---|
void |
addAfter(String name,
IoFilter filter)
Adds the specified filter with the specified name just after this entry. |
void |
addBefore(String name,
IoFilter filter)
Adds the specified filter with the specified name just before this entry. |
IoFilter |
getFilter()
Returns the filter. |
String |
getName()
Returns the name of the filter. |
IoFilter.NextFilter |
getNextFilter()
Returns the IoFilter.NextFilter of the filter. |
void |
remove()
Removes this entry from the chain it belongs to. |
void |
replace(IoFilter newFilter)
Replace the filter of this entry with the specified new filter. |
| Method Detail |
|---|
String getName()
IoFilter getFilter()
IoFilter.NextFilter getNextFilter()
IoFilter.NextFilter of the filter.
IllegalStateException - if the IoFilter.NextFilter is not available
void addBefore(String name,
IoFilter filter)
IoFilterLifeCycleException - if IoFilter.onPostAdd(IoFilterChain, String, NextFilter) or
IoFilter.init() throws an exception.
void addAfter(String name,
IoFilter filter)
IoFilterLifeCycleException - if IoFilter.onPostAdd(IoFilterChain, String, NextFilter) or
IoFilter.init() throws an exception.void replace(IoFilter newFilter)
IllegalArgumentException - if there's no such filtervoid remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||