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

ResponseTimeHandler

open class ResponseTimeHandler : Handler<RoutingContext>

Handler which adds a header `x-response-time` in the response of matching requests containing the time taken in ms to process the request. NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.ResponseTimeHandler non RX-ified interface using Vert.x codegen.

Constructors

<init>

ResponseTimeHandler(delegate: ResponseTimeHandler)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<ResponseTimeHandler>

Functions

create

open static fun create(): ResponseTimeHandler

Create a handler

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): ResponseTimeHandler

handle

open fun handle(arg0: RoutingContext): Unit

hashCode

open fun hashCode(): Int

newInstance

open static fun newInstance(arg: ResponseTimeHandler): ResponseTimeHandler

toString

open fun toString(): String