Class GateHandlerWrapper
- java.lang.Object
-
- org.wildfly.extension.undertow.deployment.GateHandlerWrapper
-
- All Implemented Interfaces:
io.undertow.server.HandlerWrapper
public class GateHandlerWrapper extends Object implements 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 Constructor Description GateHandlerWrapper(int statusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
open()
io.undertow.server.HttpHandler
wrap(io.undertow.server.HttpHandler handler)
-