Module io.avaje.jex
Package io.avaje.jex

Interface HttpFilter.FilterChain

Enclosing interface:
HttpFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface HttpFilter.FilterChain
Filter chain that contains all subsequent filters that are configured, as well as the final route.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Calls the next filter in the chain, or else the user's exchange handler, if this is the final filter in the chain.
  • Method Details

    • proceed

      void proceed() throws Exception
      Calls the next filter in the chain, or else the user's exchange handler, if this is the final filter in the chain. The HttpFilter may decide to terminate the chain, by not calling this method. In this case, the filter must send the response to the request, because the application's exchange handler will not be invoked.
      Throws:
      IOException - if an I/O error occurs
      Exception