Class ErrorHandler

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

public class ErrorHandler extends PipelinedHandler
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Constructor Details

    • ErrorHandler

      public ErrorHandler()
      Creates a new instance of ErrorHandler
    • ErrorHandler

      public ErrorHandler(PipelinedHandler next)
      Creates a new instance of ErrorHandler
      Parameters:
      next -
  • 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
      Parameters:
      exchange -
      Throws:
      Exception