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

Interface FilterChain

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 interface FilterChain
  • 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 IOException
      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