public interface KeepAliveStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
keepAlive(InetSocketAddress remoteAddress,
Request ahcRequest,
io.netty.handler.codec.http.HttpRequest nettyRequest,
io.netty.handler.codec.http.HttpResponse nettyResponse)
Determines whether the connection should be kept alive after this HTTP message exchange.
|
boolean keepAlive(InetSocketAddress remoteAddress, Request ahcRequest, io.netty.handler.codec.http.HttpRequest nettyRequest, io.netty.handler.codec.http.HttpResponse nettyResponse)
remoteAddress - the remote InetSocketAddress associated with the requestahcRequest - the Request, as built by AHCnettyRequest - the HTTP request sent to NettynettyResponse - the HTTP response received from NettyCopyright © 2019. All rights reserved.