Module methanol
Package com.github.mizosoft.methanol.internal.cache
package com.github.mizosoft.methanol.internal.cache
-
ClassDescriptionAn
Methanol.Interceptor
that serves incoming requests from cache, network, both (in case of successful/failed revalidation), or none (in case of unsatisfiable requests).Publisher for the response body as read from a cached entry'sStore.Viewer
.ARawResponse
retrieved from cache.Metadata for each response entry in the cache.APublisher
that writes the body stream into cache while simultaneously forwarding it to downstream.A persistentStore
implementation that saves entries on disk under a specified directory.An immutable 80-bit hash code.A function that computes an 80-bit hash from a string key.Helpers for parsing/formatting HTTP dates.An HTTP response cache that allows retrieval, metadata updates, insertion and removal.Store
implementation that stores entries in memory.ARawResponse
that came from the network and may be written to cache.A response with a "raw" body that is yet to be handled.AnMethanol.Interceptor
that follows redirects.Writes an entry's metadata block and data stream.Reads an entry's metadata block and data stream.Read/Write utilities that make sure exactly the requested bytes are read/written.