Package com.io7m.coffeepick.repository.spi

# Interface RuntimeRepositoryContextType

All Known Implementing Classes:
  `CoffeePickRuntimeRepositoryContext`

    @ConsumerType
    public interface RuntimeRepositoryContextType

A context interface passed to repositories. This is used to provide configuration and other information to repositories at runtime, and is typically filled in by the client implementation. This interface essentially serves as a means to avoid a circular dependency between the client API and repository SPI.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `java.nio.file.Path` | `cacheDirectory()` |
  `java.net.http.HttpClient` | `httpClient()` |

- ## Method Details

  - ### cacheDirectory

    java.nio.file.Path cacheDirectory()
    Returns:
      The base cache directory

  - ### httpClient

    java.net.http.HttpClient httpClient()
    Returns:
      An HTTP client to be used for requests