java.lang.Object
com.github.mizosoft.methanol.internal.cache.CacheResponseMetadata
Metadata for each response entry in the cache.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CacheResponseMetadata
decode
(ByteBuffer metadataBuffer) encode()
static CacheResponseMetadata
from
(TrackedResponse<?> response) boolean
matches
(HttpRequest request) uri()
varyFields
(HttpHeaders headers)
-
Method Details
-
uri
-
matches
-
encode
- Throws:
IOException
-
toResponseBuilder
-
decode
- Throws:
IOException
-
from
-
varyFields
-