| java.lang.Object org.apache.mina.common.DefaultIoFilterChainBuilder
Method Summary | |
public synchronized void | addAfter(String baseName, String name, IoFilter filter) | public synchronized void | addBefore(String baseName, String name, IoFilter filter) | public synchronized void | addFirst(String name, IoFilter filter) | public synchronized void | addLast(String name, IoFilter filter) | public void | buildFilterChain(IoFilterChain chain) | public synchronized void | clear() | public boolean | contains(String name) | public boolean | contains(IoFilter filter) | public boolean | contains(Class<? extends IoFilter> filterType) | public IoFilter | get(String name) | public IoFilter | get(Class<? extends IoFilter> filterType) | public List<Entry> | getAll() | public List<Entry> | getAllReversed() | public Entry | getEntry(String name) | public Entry | getEntry(IoFilter filter) | public Entry | getEntry(Class<? extends IoFilter> filterType) | public synchronized IoFilter | remove(String name) | public synchronized IoFilter | remove(IoFilter filter) | public synchronized IoFilter | remove(Class<? extends IoFilter> filterType) | public synchronized IoFilter | replace(String name, IoFilter newFilter) | public synchronized void | replace(IoFilter oldFilter, IoFilter newFilter) | public synchronized void | replace(Class<? extends IoFilter> oldFilterType, IoFilter newFilter) | public void | setFilters(Map<String, ? extends IoFilter> filters) Clears the current list of filters and adds the specified
filter mapping to this builder. | public String | toString() |
DefaultIoFilterChainBuilder | public DefaultIoFilterChainBuilder()(Code) | | Creates a new instance with an empty filter list.
|
setFilters | public void setFilters(Map<String, ? extends IoFilter> filters)(Code) | | Clears the current list of filters and adds the specified
filter mapping to this builder. Please note that you must specify
a
Map implementation that iterates the filter mapping in the
order of insertion such as
LinkedHashMap . Otherwise, it will
throw an
IllegalArgumentException .
|
|
|