public interface HttpCache
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
addResponse(HttpRequest request,
HttpResponse response)
Add a request/response pair to the cache.
|
String |
createKey(HttpRequest request)
Create a string representation of the cache key.
|
HttpResponse |
getResponse(HttpRequest request) |
HttpResponse |
removeResponse(HttpRequest key) |
HttpResponse getResponse(HttpRequest request)
HttpResponse addResponse(HttpRequest request, HttpResponse response)
HttpResponse removeResponse(HttpRequest key)
String createKey(HttpRequest request)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.