Tabnine Logo
IoFilterChain.clear
Code IndexAdd Tabnine to your IDE (free)

How to use
clear
method
in
org.littleshoot.mina.common.IoFilterChain

Best Java code snippets using org.littleshoot.mina.common.IoFilterChain.clear (Showing top 1 results out of 315)

origin: org.littleshoot/mina-port

public void sessionClosed(NextFilter nextFilter, IoSession session)
    throws Exception {
  try {
    session.getHandler().sessionClosed(session);
  } finally {
    // Remove all filters.
    session.getFilterChain().clear();
  }
}
org.littleshoot.mina.commonIoFilterChainclear

Javadoc

Removes all filters added to this chain.

Popular methods of IoFilterChain

  • addAfter
    Adds the specified filter with the specified name just after the filter whose name isbaseName in thi
  • addBefore
    Adds the specified filter with the specified name just before the filter whose name isbaseName in th
  • addFirst
    Adds the specified filter with the specified name at the beginning of this chain.
  • addLast
    Adds the specified filter with the specified name at the end of this chain.
  • contains
    Returns true if this chain contains the specified filter.
  • fireExceptionCaught
    Fires a IoHandler#exceptionCaught(IoSession,Throwable) event. Most users don't need to call this met
  • fireMessageReceived
    Fires a #fireMessageReceived(IoSession,Object) event. Most users don't need to call this method at a
  • fireMessageSent
    Fires a IoHandler#sessionOpened(IoSession) event. Most users don't need to call this method at all.
  • fireSessionClosed
    Fires a IoHandler#sessionClosed(IoSession) event. Most users don't need to call this method at all.
  • fireSessionCreated
    Fires a IoHandler#sessionCreated(IoSession) event. Most users don't need to call this method at all.
  • fireSessionIdle
    Fires a IoHandler#sessionIdle(IoSession,IdleStatus) event. Most users don't need to call this method
  • fireSessionOpened
    Fires a IoHandler#sessionOpened(IoSession) event. Most users don't need to call this method at all.
  • fireSessionIdle,
  • fireSessionOpened,
  • getAll,
  • getSession

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ImageIO (javax.imageio)
  • JOptionPane (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now