org.apache.http.impl.client.cache
Class ResponseProtocolCompliance

java.lang.Object
  extended by org.apache.http.impl.client.cache.ResponseProtocolCompliance

@Immutable
public class ResponseProtocolCompliance
extends Object

Since:
4.1

Constructor Summary
ResponseProtocolCompliance()
           
 
Method Summary
 void ensureProtocolCompliance(HttpRequest request, HttpResponse response)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseProtocolCompliance

public ResponseProtocolCompliance()
Method Detail

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 response
response - 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.