Interface IoFilterChain.Entry
- All Known Implementing Classes:
DefaultIoFilterChain.EntryImpl, DefaultIoFilterChainBuilder.EntryImpl
- Enclosing interface:
IoFilterChain
public static interface IoFilterChain.Entry
Represents a name-filter pair that an
IoFilterChain contains.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specified filter with the specified name just after this entry.voidAdds the specified filter with the specified name just before this entry.getName()voidremove()Removes this entry from the chain it belongs to.voidReplace the filter of this entry with the specified new filter.
-
Method Details
-
getName
String getName()- Returns:
- the name of the filter.
-
getFilter
IoFilter getFilter()- Returns:
- the filter.
-
getNextFilter
IoFilter.NextFilter getNextFilter()- Returns:
- The
IoFilter.NextFilterof the filter.
-
addBefore
-
addAfter
-
replace
Replace the filter of this entry with the specified new filter.- Parameters:
newFilter- The new filter that will be put in the chain
-
remove
void remove()Removes this entry from the chain it belongs to.
-