📄 defaultiofilterchain.html
字号:
</DL><HR><A NAME="remove(java.lang.String)"><!-- --></A><H3>remove</H3><PRE>public <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>remove</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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(java.lang.String)">IoFilterChain</A></CODE></B></DD><DD>Removes the filter with the specified name from this chain.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(java.lang.String)">remove</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="remove(org.apache.mina.common.IoFilter)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> filter)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(org.apache.mina.common.IoFilter)">IoFilterChain</A></CODE></B></DD><DD>Replace the filter with the specified name with the specified new filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(org.apache.mina.common.IoFilter)">remove</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="remove(java.lang.Class)"><!-- --></A><H3>remove</H3><PRE>public <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>remove</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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(java.lang.Class)">IoFilterChain</A></CODE></B></DD><DD>Replace the filter of the specified type with the specified new filter. If there's more than one filter with the specified type, the first match will be replaced.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#remove(java.lang.Class)">remove</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="replace(java.lang.String, org.apache.mina.common.IoFilter)"><!-- --></A><H3>replace</H3><PRE>public <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>replace</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)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(java.lang.String, org.apache.mina.common.IoFilter)">IoFilterChain</A></CODE></B></DD><DD>Replace the filter with the specified name with the specified new filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(java.lang.String, org.apache.mina.common.IoFilter)">replace</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the old filter</DL></DD></DL><HR><A NAME="replace(org.apache.mina.common.IoFilter, org.apache.mina.common.IoFilter)"><!-- --></A><H3>replace</H3><PRE>public void <B>replace</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)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(org.apache.mina.common.IoFilter, org.apache.mina.common.IoFilter)">IoFilterChain</A></CODE></B></DD><DD>Replace the filter with the specified name with the specified new filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(org.apache.mina.common.IoFilter, org.apache.mina.common.IoFilter)">replace</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="replace(java.lang.Class, org.apache.mina.common.IoFilter)"><!-- --></A><H3>replace</H3><PRE>public <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> <B>replace</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>> oldFilterType, <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common">IoFilter</A> newFilter)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(java.lang.Class, org.apache.mina.common.IoFilter)">IoFilterChain</A></CODE></B></DD><DD>Replace the filter of the specified type with the specified new filter. If there's more than one filter with the specified type, the first match will be replaced.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#replace(java.lang.Class, org.apache.mina.common.IoFilter)">replace</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>() throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#clear()">IoFilterChain</A></CODE></B></DD><DD>Removes all filters added to this chain.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#clear()">clear</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE> - if <A HREF="../../../../org/apache/mina/common/IoFilter.html#onPostRemove(org.apache.mina.common.IoFilterChain, java.lang.String, org.apache.mina.common.IoFilter.NextFilter)"><CODE>IoFilter.onPostRemove(IoFilterChain, String, NextFilter)</CODE></A> thrown an exception.</DL></DD></DL><HR><A NAME="fireSessionCreated()"><!-- --></A><H3>fireSessionCreated</H3><PRE>public void <B>fireSessionCreated</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionCreated()">IoFilterChain</A></CODE></B></DD><DD>Fires a <A HREF="../../../../org/apache/mina/common/IoHandler.html#sessionCreated(org.apache.mina.common.IoSession)"><CODE>IoHandler.sessionCreated(IoSession)</CODE></A> event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionCreated()">fireSessionCreated</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="fireSessionOpened()"><!-- --></A><H3>fireSessionOpened</H3><PRE>public void <B>fireSessionOpened</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionOpened()">IoFilterChain</A></CODE></B></DD><DD>Fires a <A HREF="../../../../org/apache/mina/common/IoHandler.html#sessionOpened(org.apache.mina.common.IoSession)"><CODE>IoHandler.sessionOpened(IoSession)</CODE></A> event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionOpened()">fireSessionOpened</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="fireSessionClosed()"><!-- --></A><H3>fireSessionClosed</H3><PRE>public void <B>fireSessionClosed</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionClosed()">IoFilterChain</A></CODE></B></DD><DD>Fires a <A HREF="../../../../org/apache/mina/common/IoHandler.html#sessionClosed(org.apache.mina.common.IoSession)"><CODE>IoHandler.sessionClosed(IoSession)</CODE></A> event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html#fireSessionClosed()">fireSessionClosed</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common">IoFilterChain</A></CODE></DL></DD><DD><DL></DL></D
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -