Class ComponentStartupCountdownHandler
- java.lang.Object
-
- org.wildfly.extension.undertow.deployment.ComponentStartupCountdownHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class ComponentStartupCountdownHandler extends Object implements io.undertow.server.HttpHandler
Queue up requests until all startup components are initialized successfully. If any of the components failed to startup, all queued up and any subsequent requests are terminated with a 500 error code. Based onio.undertow.server.handlers.RequestLimitingHandler
- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description ComponentStartupCountdownHandler(io.undertow.server.HttpHandler handler, StartupCountdown countdown)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
ComponentStartupCountdownHandler
public ComponentStartupCountdownHandler(io.undertow.server.HttpHandler handler, StartupCountdown countdown)
-
-