public interface TimeoutHandler extends Handler<RoutingContext>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ERRORCODE
The default error code
|
static long |
DEFAULT_TIMEOUT
The default timeout, in ms
|
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
|
static final long DEFAULT_TIMEOUT
static final int DEFAULT_ERRORCODE
static TimeoutHandler create()
static TimeoutHandler create(long timeout)
timeout
- the timeout, in msstatic TimeoutHandler create(long timeout, int errorCode)
timeout
- the timeout, in msCopyright © 2022 Eclipse. All rights reserved.