public class TimeoutHandler extends Object implements Handler<RoutingContext>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<TimeoutHandler> | __TYPE_ARG | 
| static int | DEFAULT_ERRORCODEThe default error code | 
| static long | DEFAULT_TIMEOUTThe default timeout, in ms | 
| Constructor and Description | 
|---|
| TimeoutHandler(Object delegate) | 
| TimeoutHandler(TimeoutHandler delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| static TimeoutHandler | create()Create a handler | 
| static TimeoutHandler | create(long timeout)Create a handler | 
| static TimeoutHandler | create(long timeout,
      int errorCode)Create a handler | 
| boolean | equals(Object o) | 
| TimeoutHandler | getDelegate() | 
| void | handle(RoutingContext event)Something has happened, so handle it. | 
| int | hashCode() | 
| static TimeoutHandler | newInstance(TimeoutHandler arg) | 
| String | toString() | 
public static final io.vertx.lang.rx.TypeArg<TimeoutHandler> __TYPE_ARG
public static final long DEFAULT_TIMEOUT
public static final int DEFAULT_ERRORCODE
public TimeoutHandler(TimeoutHandler delegate)
public TimeoutHandler(Object delegate)
public TimeoutHandler getDelegate()
public void handle(RoutingContext event)
handle in interface Handler<RoutingContext>event - the event to handlepublic static TimeoutHandler create()
public static TimeoutHandler create(long timeout)
timeout - the timeout, in mspublic static TimeoutHandler create(long timeout, int errorCode)
timeout - the timeout, in mserrorCode - public static TimeoutHandler newInstance(TimeoutHandler arg)
Copyright © 2021 Eclipse. All rights reserved.