Interface IServerServicesInterceptorChain


InterceptorChain is used to manage the execution of chain of interceptors for a particular request. When all the matching interceptors are executed, the request is passed to the next object in the chain (next filter's doFilter or the handler).
  • Method Details

    • intercept

      void intercept(IInterceptorRequest request, IInterceptorResponse response) throws IOException, jakarta.servlet.ServletException
      Invokes the next interceptor in the chain. If the calling interceptor is the last in the chain, then the resource at the end of the chain will be invoked.
      Parameters:
      request - the request to pass along the chain.
      response - the response to pass along the chain.
      Throws:
      IOException - if an I/O error occurs during the processing of the request
      jakarta.servlet.ServletException - if the processing fails for any other reason
    • isRestRequestChain