Package com.helixframework.okhttp.delta
Interface DeltaRequestBodyStore
- All Known Implementing Classes:
CacheServiceDeltaRequestBodyStore,InMemoryDeltaRequestBodyStore
public interface DeltaRequestBodyStore
Storage abstraction for the most recent request body associated with a cache key.
-
Method Summary
-
Method Details
-
get
Loads the previously cached request body.- Parameters:
key- cache key- Returns:
- cached body when present
-
put
Stores the latest request body for the cache key.- Parameters:
key- cache keybody- request body to persist
-