Example usage for Java org.apache.http.impl.client.cache SizeLimitedResponseReader fields, constructors, methods, implement or subclass
The text is from its open source code.
SizeLimitedResponseReader(ResourceFactory resourceFactory, long maxResponseSizeBytes, HttpRequest request, HttpResponse response) Create an HttpResponse that is limited in size, this allows for checking the size of objects that will be stored in the cache. |
HttpResponse | getReconstructedResponse() |
Resource | getResource() |
boolean | isLimitReached() |
void | readResponse() |