public interface RoboExtendedResponseCache
A response cache that supports statistics tracking and updating stored responses. Implementations of
ResponseCache should implement this
interface to receive additional support from the HTTP engine.
Method SummaryModifier and TypeMethodDescription
voidTrack an conditional GET that was satisfied by this cache.
voidTrack an HTTP response being satisfied by
voidUpdates stored HTTP headers using a hit on a conditional GET.
(RoboResponseSource source)Track an HTTP response being satisfied by
source- Response source.
trackConditionalCacheHitvoid trackConditionalCacheHit()Track an conditional GET that was satisfied by this cache.
updateUpdates stored HTTP headers using a hit on a conditional GET.
conditionalCacheHit- Conditional cache hit.
httpConnection- Http connection.