Class TimeoutHandler

java.lang.Object
io.vertx.mutiny.ext.web.handler.TimeoutHandler
All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate, io.vertx.core.Handler<RoutingContext>, PlatformHandler, Consumer<RoutingContext>

public class TimeoutHandler extends Object implements io.smallrye.mutiny.vertx.MutinyDelegate, PlatformHandler, io.vertx.core.Handler<RoutingContext>, Consumer<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 Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.smallrye.mutiny.vertx.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(io.vertx.ext.web.handler.TimeoutHandler delegate)
    • TimeoutHandler

      public TimeoutHandler(Object delegate)
  • Method Details