public interface KeepAliveStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
keepAlive(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(Request ahcRequest, io.netty.handler.codec.http.HttpRequest nettyRequest, io.netty.handler.codec.http.HttpResponse nettyResponse)
ahcRequest
- the Request, as built by AHCnettyRequest
- the HTTP request sent to NettynettyResponse
- the HTTP response received from NettyCopyright © 2015. All Rights Reserved.