Class TimeoutHandler

  • All Implemented Interfaces:
    Handler<RoutingContext>, io.vertx.lang.rx.RxDelegate, PlatformHandler

    public class TimeoutHandler
    extends Object
    implements io.vertx.lang.rx.RxDelegate, PlatformHandler, Handler<RoutingContext>
    Handler that will timeout requests if the response has not been written after a certain time. Timeout requests will be ended with an HTTP status code `503`.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<TimeoutHandler> __TYPE_ARG
      • DEFAULT_TIMEOUT

        public static final long DEFAULT_TIMEOUT
        The default timeout, in ms
        See Also:
        Constant Field Values
      • DEFAULT_ERRORCODE

        public static final int DEFAULT_ERRORCODE
        The default error code
        See Also:
        Constant Field Values
    • Constructor Detail

      • TimeoutHandler

        public TimeoutHandler​(Object delegate)