Class ServiceExchangeInitializer

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

public class ServiceExchangeInitializer extends PipelinedHandler
Initializes the Request and the Response invoking requestInitializer() and responseInitializer() functions defined by the handling service
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Constructor Details

    • ServiceExchangeInitializer

      public ServiceExchangeInitializer()
      Creates a new instance of RequestInitializer
  • 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