Class ResponseInterceptorsExecutor

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.handlers.ResponseInterceptorsExecutor
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class ResponseInterceptorsExecutor extends PipelinedHandler
Executes response interceptors
Author:
Andrea Di Cesare <[email protected]>
  • Constructor Details

    • ResponseInterceptorsExecutor

      public ResponseInterceptorsExecutor()
    • ResponseInterceptorsExecutor

      public ResponseInterceptorsExecutor(boolean filterRequiringContent)
    • ResponseInterceptorsExecutor

      public ResponseInterceptorsExecutor(PipelinedHandler next, boolean filterRequiringContent)
      Construct a new instance.
      Parameters:
      next -
      filterRequiringContent - if true does not execute the interceptors that require content
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Specified by:
      handleRequest in class PipelinedHandler
      Throws:
      Exception