Class ControlPointDeploymentInfoConfigurator
java.lang.Object
org.wildfly.extension.undertow.deployment.ControlPointDeploymentInfoConfigurator
- All Implemented Interfaces:
io.undertow.server.ExchangeCompletionListener,io.undertow.server.HandlerWrapper,io.undertow.servlet.api.ThreadSetupHandler,Function<io.undertow.servlet.api.DeploymentInfo,,io.undertow.servlet.api.DeploymentInfo> UnaryOperator<io.undertow.servlet.api.DeploymentInfo>
public class ControlPointDeploymentInfoConfigurator
extends Object
implements UnaryOperator<io.undertow.servlet.api.DeploymentInfo>, io.undertow.server.HandlerWrapper, io.undertow.servlet.api.ThreadSetupHandler, io.undertow.server.ExchangeCompletionListener
Configures a
DeploymentInfo for use with a ControlPoint.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.undertow.server.ExchangeCompletionListener
io.undertow.server.ExchangeCompletionListener.NextListener -
Constructor Summary
ConstructorsConstructorDescriptionControlPointDeploymentInfoConfigurator(org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests) -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.servlet.api.DeploymentInfoapply(io.undertow.servlet.api.DeploymentInfo deployment) <T,C> io.undertow.servlet.api.ThreadSetupHandler.Action<T, C> create(io.undertow.servlet.api.ThreadSetupHandler.Action<T, C> action) voidexchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener) io.undertow.server.HttpHandlerwrap(io.undertow.server.HttpHandler handler)
-
Constructor Details
-
ControlPointDeploymentInfoConfigurator
public ControlPointDeploymentInfoConfigurator(org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests)
-
-
Method Details
-
apply
public io.undertow.servlet.api.DeploymentInfo apply(io.undertow.servlet.api.DeploymentInfo deployment) -
wrap
public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler) - Specified by:
wrapin interfaceio.undertow.server.HandlerWrapper
-
create
public <T,C> io.undertow.servlet.api.ThreadSetupHandler.Action<T,C> create(io.undertow.servlet.api.ThreadSetupHandler.Action<T, C> action) - Specified by:
createin interfaceio.undertow.servlet.api.ThreadSetupHandler
-
exchangeEvent
public void exchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener) - Specified by:
exchangeEventin interfaceio.undertow.server.ExchangeCompletionListener
-