public interface RoboExtendedResponseCache
ResponseCache
should implement this
interface to receive additional support from the HTTP engine.Modifier and Type | Method | Description |
---|---|---|
void |
trackConditionalCacheHit() |
Track an conditional GET that was satisfied by this cache.
|
void |
trackResponse(RoboResponseSource source) |
Track an HTTP response being satisfied by
source . |
void |
update(CacheResponse conditionalCacheHit,
HttpURLConnection httpConnection) |
Updates stored HTTP headers using a hit on a conditional GET.
|
void trackResponse(RoboResponseSource source)
source
.source
- Response source.void trackConditionalCacheHit()
void update(CacheResponse conditionalCacheHit, HttpURLConnection httpConnection)
conditionalCacheHit
- Conditional cache hit.httpConnection
- Http connection.