Package com.helixframework.okhttp.delta
Class InMemoryDeltaRequestBodyStore
java.lang.Object
com.helixframework.okhttp.delta.InMemoryDeltaRequestBodyStore
- All Implemented Interfaces:
DeltaRequestBodyStore,Serializable
public class InMemoryDeltaRequestBodyStore
extends Object
implements DeltaRequestBodyStore, Serializable
Default in-memory store for previous request bodies.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InMemoryDeltaRequestBodyStore
public InMemoryDeltaRequestBodyStore()
-
-
Method Details
-
get
Description copied from interface:DeltaRequestBodyStoreLoads the previously cached request body.- Specified by:
getin interfaceDeltaRequestBodyStore- Parameters:
key- cache key- Returns:
- cached body when present
-
put
Description copied from interface:DeltaRequestBodyStoreStores the latest request body for the cache key.- Specified by:
putin interfaceDeltaRequestBodyStore- Parameters:
key- cache keybody- request body to persist
-