Class ConfiguredHandlerWrapper

java.lang.Object
org.wildfly.extension.undertow.deployment.ConfiguredHandlerWrapper
All Implemented Interfaces:
io.undertow.server.HandlerWrapper

public class ConfiguredHandlerWrapper extends Object implements io.undertow.server.HandlerWrapper
Handler wrapper that create a new instance of the specified HandlerWrapper or HttpHandler class, and configures it via the specified properties.
Author:
Stuart Douglas
  • Constructor Details

    • ConfiguredHandlerWrapper

      public ConfiguredHandlerWrapper(Class<?> handlerClass, Map<String,String> properties)
  • Method Details

    • wrap

      public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler)
      Specified by:
      wrap in interface io.undertow.server.HandlerWrapper