@CompileStatic class TimeoutHandler
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 `408`.
| Constructor and description |
|---|
TimeoutHandler
(Object delegate) |
| Type | Name and description |
|---|---|
static TimeoutHandler |
create()Create a handler |
static TimeoutHandler |
create(long timeout)Create a handler |
Object |
getDelegate() |
void |
handle(RoutingContext arg0) |
Create a handler
Create a handler
timeout - the timeout, in msio.vertx:vertx-web:3.1.0