Class GateHandlerWrapper
java.lang.Object
org.wildfly.extension.undertow.deployment.GateHandlerWrapper
- All Implemented Interfaces:
io.undertow.server.HandlerWrapper
A handler that will prevent requests from progressing until the gate is opened.
This will either queue or reject the requests, based on the configured behaviour
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GateHandlerWrapper
public GateHandlerWrapper(int statusCode)
-
-
Method Details
-
open
public void open() -
wrap
public io.undertow.server.HttpHandler wrap(io.undertow.server.HttpHandler handler) - Specified by:
wrapin interfaceio.undertow.server.HandlerWrapper
-