vertx / io.vertx.reactivex.ext.web.handler / TimeoutHandler

TimeoutHandler

open class TimeoutHandler : 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 io.vertx.ext.web.handler.TimeoutHandler non RX-ified interface using Vert.x codegen.

Constructors

<init>

TimeoutHandler(delegate: TimeoutHandler)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<TimeoutHandler>

Functions

create

open static fun create(): TimeoutHandler
open static fun create(timeout: Long): TimeoutHandler
open static fun create(timeout: Long, errorCode: Int): TimeoutHandler

Create a handler

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): TimeoutHandler

handle

open fun handle(arg0: RoutingContext): Unit

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: TimeoutHandler): TimeoutHandler

toString

open fun toString(): String