public interface HttpConnectionLiveness
| Modifier and Type | Field and Description |
|---|---|
static HttpConnectionLiveness |
CLOSE
HttpConnectionLiveness that immediately closes the HTTP connection on read idle, without starting any probing. |
static Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels started probes or any active work.
|
void |
check(ChannelHandlerContext ctx)
Closes or starts probing the connection for the liveness.
|
void |
receive(Object msg)
Processes messages received from the remote peer.
|
static final Logger log
static final HttpConnectionLiveness CLOSE
HttpConnectionLiveness that immediately closes the HTTP connection on read idle, without starting any probing.void cancel()
void check(ChannelHandlerContext ctx)
ctx - the ChannelHandlerContext of the connectionvoid receive(Object msg)
msg - the message received from the remote peer