public class TimeoutHandler extends Object implements Handler<RoutingContext>
original
non RX-ified interface using Vert.x codegen.Constructor and Description |
---|
TimeoutHandler(TimeoutHandler delegate) |
Modifier and Type | Method and Description |
---|---|
static TimeoutHandler |
create()
Create a handler
|
static TimeoutHandler |
create(long timeout)
Create a handler
|
Object |
getDelegate() |
void |
handle(RoutingContext arg0)
Something has happened, so handle it.
|
static TimeoutHandler |
newInstance(TimeoutHandler arg) |
public TimeoutHandler(TimeoutHandler delegate)
public Object getDelegate()
public void handle(RoutingContext arg0)
Handler
handle
in interface Handler<RoutingContext>
arg0
- the event to handlepublic static TimeoutHandler create()
public static TimeoutHandler create(long timeout)
timeout
- the timeout, in mspublic static TimeoutHandler newInstance(TimeoutHandler arg)
Copyright © 2015. All Rights Reserved.