CometFilterChain (Apache Tomcat 7.0.104 API Documentation)

org.apache.catalina.comet

## Interface CometFilterChain

-     public interface CometFilterChain

  A CometFilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered event for a resource. Filters use the CometFilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.
  Author:
    Remy Maucherat, Filip Hanik

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doFilterEvent(CometEvent event)` Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.

- - ### Method Detail

    - #### doFilterEvent

          void doFilterEvent(CometEvent event)
                             throws IOException,
                                    ServletException

      Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
      Parameters:
        `event` - the event to pass along the chain.
      Throws:
        `IOException` - If an I/O error occurs
        `ServletException` - If an error occurs during event processing

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.