Class TimeoutHandler

java.lang.Object
io.vertx.reactivex.ext.web.handler.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 Details

    • __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:
    • DEFAULT_ERRORCODE

      public static final int DEFAULT_ERRORCODE
      The default error code
      See Also:
  • Constructor Details

    • TimeoutHandler

      public TimeoutHandler(TimeoutHandler delegate)
    • TimeoutHandler

      public TimeoutHandler(Object delegate)
  • Method Details