Class GlobalRequestControllerHandler
java.lang.Object
org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class GlobalRequestControllerHandler
extends Object
implements io.undertow.server.HttpHandler
Undertow handler that hooks into the global request controller.
- Author:
- Stuart Douglas
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlobalRequestControllerHandler(io.undertow.server.HttpHandler next, org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests) -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.server.HttpHandlergetNext()voidhandleRequest(io.undertow.server.HttpServerExchange exchange) static io.undertow.server.HandlerWrapperwrapper(org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests)
-
Field Details
-
ORG_WILDFLY_SUSPENDED
- See Also:
-
-
Constructor Details
-
GlobalRequestControllerHandler
public GlobalRequestControllerHandler(io.undertow.server.HttpHandler next, org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-
wrapper
public static io.undertow.server.HandlerWrapper wrapper(org.wildfly.extension.requestcontroller.ControlPoint entryPoint, List<io.undertow.predicate.Predicate> allowSuspendedRequests) -
getNext
public io.undertow.server.HttpHandler getNext()
-