Class 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 Detail

      • GateHandlerWrapper

        public GateHandlerWrapper​(int statusCode)
    • Method Detail

      • open

        public void open()
      • wrap

        public io.undertow.server.HttpHandler wrap​(io.undertow.server.HttpHandler handler)
        Specified by:
        wrap in interface io.undertow.server.HandlerWrapper