public class Http1Point1ConnectionStrategy extends Object implements ConnectionStrategy
Constructor and Description |
---|
Http1Point1ConnectionStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
isConnectionKeepAlive(org.jboss.netty.handler.codec.http.HttpMessage message) |
boolean |
keepAlive(org.jboss.netty.handler.codec.http.HttpRequest httpRequest,
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 httpRequest, org.jboss.netty.handler.codec.http.HttpResponse response)
keepAlive
in interface ConnectionStrategy
httpRequest
- the HTTP requestresponse
- the HTTP responsepublic boolean isConnectionKeepAlive(org.jboss.netty.handler.codec.http.HttpMessage message)
Copyright © 2015. All Rights Reserved.