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

    Modifier and Type
    Method
    Description
    get(String key)
    Loads the previously cached request body.
    void
    put(String key, String body)
    Stores the latest request body for the cache key.
  • Method Details

    • get

      Optional<String> get(String key)
      Loads the previously cached request body.
      Parameters:
      key - cache key
      Returns:
      cached body when present
    • put

      void put(String key, String body)
      Stores the latest request body for the cache key.
      Parameters:
      key - cache key
      body - request body to persist