public class DefaultConnectionStrategy extends Object implements ConnectionStrategy
Constructor and Description |
---|
DefaultConnectionStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
keepAlive(org.jboss.netty.handler.codec.http.HttpRequest request,
org.jboss.netty.handler.codec.http.HttpResponse response)
Implemented in accordance with RFC 7230 section 6.1
https://tools.ietf.org/html/rfc7230#section-6.1
|
public boolean keepAlive(org.jboss.netty.handler.codec.http.HttpRequest request, org.jboss.netty.handler.codec.http.HttpResponse response)
keepAlive
in interface ConnectionStrategy
request
- the HTTP requestresponse
- the HTTP responseCopyright © 2016. All Rights Reserved.