org.apache.http.impl.client.cache
Class ResponseProtocolCompliance
java.lang.Object
org.apache.http.impl.client.cache.ResponseProtocolCompliance
@Immutable
public class ResponseProtocolCompliance
- extends Object
- Since:
- 4.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseProtocolCompliance
public ResponseProtocolCompliance()
ensureProtocolCompliance
public void ensureProtocolCompliance(HttpRequest request,
HttpResponse response)
throws ClientProtocolException
- When we get a response from a down stream server (Origin Server)
we attempt to see if it is HTTP 1.1 Compliant and if not, attempt to
make it so.
- Parameters:
request
- The HttpRequest
that generated an origin hit and responseresponse
- The HttpResponse
from the origin server
- Throws:
ClientProtocolException
- when we are unable to 'convert' the response to a compliant one
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.