org.qi4j.library.servlet

## Class Qi4jFilter

- java.lang.Object
- - org.qi4j.library.servlet.Qi4jFilter

- All Implemented Interfaces:
    javax.servlet.Filter

      public abstract class Qi4jFilter
      extends Object
      implements javax.servlet.Filter

  Base Filter providing easy access to the `Application` from the `ServletContext`.
  See Also:
    `AbstractQi4jServletBootstrap`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Qi4jFilter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Application` | `application()`
    `void` | `init(javax.servlet.FilterConfig filterConfig)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface javax.servlet.Filter

      `destroy, doFilter`

- - ### Constructor Detail

    - #### Qi4jFilter

          public Qi4jFilter()

  - ### Method Detail

    - #### init

          public void init(javax.servlet.FilterConfig filterConfig)
                    throws javax.servlet.ServletException

      Specified by:
        `init` in interface `javax.servlet.Filter`
      Throws:
        `javax.servlet.ServletException`

    - #### application

          protected final Application application()