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

    Nested classes/interfaces inherited from interface io.undertow.servlet.api.ThreadSetupHandler

    io.undertow.servlet.api.ThreadSetupHandler.Action<T extends Object,C extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ControlPointDeploymentInfoConfigurator(org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.undertow.servlet.api.DeploymentInfo
    apply(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)
     
    void
    exchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener)
     
    io.undertow.server.HttpHandler
    wrap(io.undertow.server.HttpHandler handler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • 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)
      Specified by:
      apply in interface Function<io.undertow.servlet.api.DeploymentInfo,io.undertow.servlet.api.DeploymentInfo>
    • wrap

      public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler)
      Specified by:
      wrap in interface io.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:
      create in interface io.undertow.servlet.api.ThreadSetupHandler
    • exchangeEvent

      public void exchangeEvent(io.undertow.server.HttpServerExchange exchange, io.undertow.server.ExchangeCompletionListener.NextListener nextListener)
      Specified by:
      exchangeEvent in interface io.undertow.server.ExchangeCompletionListener