📄 iofilterchain.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(org.apache.mina.common.IoFilter, org.apache.mina.common.IoFilter)">replace</A></B>(<A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> oldFilter, <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> newFilter)</CODE><BR> Replace the filter with the specified name with the specified new filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(java.lang.String, org.apache.mina.common.IoFilter)">replace</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> newFilter)</CODE><BR> Replace the filter with the specified name with the specified new filter.</TD></TR></TABLE> <P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getSession()"><!-- --></A><H3>getSession</H3><PRE><A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A> <B>getSession</B>()</PRE><DL><DD>Returns the parent <A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><CODE>IoSession</CODE></A> of this chain.<P><DD><DL><DT><B>Returns:</B><DD><A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><CODE>IoSession</CODE></A></DL></DD></DL><HR><A NAME="getEntry(java.lang.String)"><!-- --></A><H3>getEntry</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common">IoFilterChain.Entry</A> <B>getEntry</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain.Entry</CODE></A> with the specified <tt>name</tt> in this chain.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="getEntry(org.apache.mina.common.IoFilter)"><!-- --></A><H3>getEntry</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common">IoFilterChain.Entry</A> <B>getEntry</B>(<A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> filter)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain.Entry</CODE></A> with the specified <tt>filter</tt> in this chain.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such filter in this chain</DL></DD></DL><HR><A NAME="getEntry(java.lang.Class)"><!-- --></A><H3>getEntry</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common">IoFilterChain.Entry</A> <B>getEntry</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A>> filterType)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain.Entry</CODE></A> with the specified <tt>filterType</tt> in this chain. If there's more than one filter with the specified type, the first match will be chosen.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="get(java.lang.String)"><!-- --></A><H3>get</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A> with the specified <tt>name</tt> in this chain.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="get(java.lang.Class)"><!-- --></A><H3>get</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>get</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A>> filterType)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A> with the specified <tt>filterType</tt> in this chain. If there's more than one filter with the specified type, the first match will be chosen.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="getNextFilter(java.lang.String)"><!-- --></A><H3>getNextFilter</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common">IoFilter.NextFilter</A> <B>getNextFilter</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter.NextFilter</CODE></A> of the <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A> with the specified <tt>name</tt> in this chain.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="getNextFilter(org.apache.mina.common.IoFilter)"><!-- --></A><H3>getNextFilter</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common">IoFilter.NextFilter</A> <B>getNextFilter</B>(<A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> filter)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter.NextFilter</CODE></A> of the specified <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A> in this chain.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="getNextFilter(java.lang.Class)"><!-- --></A><H3>getNextFilter</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common">IoFilter.NextFilter</A> <B>getNextFilter</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A>> filterType)</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoFilter.NextFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter.NextFilter</CODE></A> of the specified <tt>filterType</tt> in this chain. If there's more than one filter with the specified type, the first match will be chosen.<P><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> if there's no such name in this chain</DL></DD></DL><HR><A NAME="getAll()"><!-- --></A><H3>getAll</H3><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common">IoFilterChain.Entry</A>> <B>getAll</B>()</PRE><DL><DD>Returns the list of all <A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain.Entry</CODE></A>s this chain contains.<P><DD><DL></DL></DD></DL><HR><A NAME="getAllReversed()"><!-- --></A><H3>getAllReversed</H3><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common">IoFilterChain.Entry</A>> <B>getAllReversed</B>()</PRE><DL><DD>Returns the reversed list of all <A HREF="../../../../org/apache/mina/common/IoFilterChain.Entry.html" title="interface in org.apache.mina.common"><CODE>IoFilterChain.Entry</CODE></A>s this chain contains.<P><DD><DL></DL></DD></DL><HR><A NAME="contains(java.lang.String)"><!-- --></A><H3>contains</H3><PRE>boolean <B>contains</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns <tt>true</tt> if this chain contains an <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A> with the specified <tt>name</tt>.<P><DD><DL></DL></DD></DL><HR><A NAME="contains(org.apache.mina.common.IoFilter)"><!-- --></A><H3>contains</H3><PRE>boolean <B>contains</B>(<A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> filter)</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -