Class RouterHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class RouterHandler
    extends Object
    implements io.undertow.server.HttpHandler
    This is a wrapper class for ProxyHandler as it is implemented as final. This class implements the HttpHandler which can be injected into the handler.yml configuration file as another option for the handler injection. The other option is to use RouterHandlerProvider in service.yml file.
    Author:
    Steve Hu
    • Constructor Detail

      • RouterHandler

        public RouterHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange httpServerExchange)
                           throws Exception
        Specified by:
        handleRequest in interface io.undertow.server.HttpHandler
        Throws:
        Exception
      • reload

        public void reload()