|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpCache
Cache of HttpResponse. Keys are HttpRequest, values are the HttpResponse.
| Method Summary | |
|---|---|
boolean |
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)
|
| Method Detail |
|---|
HttpResponse getResponse(HttpRequest request)
boolean addResponse(HttpRequest request,
HttpResponse response)
HttpResponse removeResponse(HttpRequest key)
String createKey(HttpRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||