Package org.restheart.handlers
Class ServiceExchangeInitializer
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.handlers.ServiceExchangeInitializer
- All Implemented Interfaces:
io.undertow.server.HttpHandler
Initializes the Request and the Response invoking requestInitializer() and
responseInitializer() functions defined by the handling service
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
Constructor Details
-
ServiceExchangeInitializer
public ServiceExchangeInitializer()Creates a new instance of RequestInitializer
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Throws:
Exception
-