Package org.restheart.handlers
Class ErrorHandler
java.lang.Object
org.restheart.handlers.ErrorHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
- Author:
- Andrea Di Cesare <[email protected]>
-
Constructor Summary
ConstructorsConstructorDescriptionErrorHandler
(io.undertow.server.HttpHandler next) Creates a new instance of ErrorHandler -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
ErrorHandler
public ErrorHandler(io.undertow.server.HttpHandler next) Creates a new instance of ErrorHandler- Parameters:
next
-
-
-
Method Details
-
handleRequest
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Parameters:
exchange
-- Throws:
Exception
-