Skip navigation links
A B C D E F H I N R V 

A

abort() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecordEditor
 

B

bodySink() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecordEditor
 
bodySource() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecord
 

C

CACHE_DO_NOT_STORE - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Do not store the http response
CACHE_EXPIRE_AFTER_READ_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Expire cached response flag http header
CACHE_EXPIRE_TIMEOUT_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Cached response expiration timeout http header
CACHE_FETCH_STRATEGY_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Cache fetch strategy http header
CACHE_FIRST - Static variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy
Signals the apollo client to first fetch the GraphQL query response from the http cache.
CACHE_KEY_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Cache key http header
CACHE_ONLY - Static variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy
Signals the apollo client to fetch the GraphQL query response from the http cache only.
CACHE_PREFETCH_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Prefetch response only flag http header
CACHE_SERVED_DATE_HEADER - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Request served Date/time http header
cacheRecord(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheStore
Returns ResponseCacheRecord for the entry named cacheKey or null if it doesn't exist or is not currently readable.
cacheRecordEditor(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheStore
Returns an editor for the entry named cacheKey or null if another edit is in progress.
clear() - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Clear cached http responses
close() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecord
 
com.apollographql.apollo.api.cache.http - package com.apollographql.apollo.api.cache.http
 
commit() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecordEditor
 

D

delete() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheStore
Closes the cache and deletes all of its stored values.

E

expireAfter(long, TimeUnit) - Method in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.ExpirePolicy
Create new cache policy with expire after timeout configuration.
expireAfterRead() - Method in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.ExpirePolicy
Create new cache policy with expire after read configuration.
expireAfterRead - Variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.Policy
 
expireTimeout - Variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.Policy
 
expireTimeoutMs() - Method in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.Policy
 
expireTimeUnit - Variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.Policy
 

F

fetchStrategy - Variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy.Policy
 
FROM_CACHE - Static variable in interface com.apollographql.apollo.api.cache.http.HttpCache
Signals that HTTP response comes from the local cache

H

headerSink() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecordEditor
 
headerSource() - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheRecord
 
HttpCache - Interface in com.apollographql.apollo.api.cache.http
Http GraphQL http request / response cache.
HttpCachePolicy - Class in com.apollographql.apollo.api.cache.http
Http cache policy factory
HttpCachePolicy.ExpirePolicy - Class in com.apollographql.apollo.api.cache.http
Cache policy with provided expiration configuration
HttpCachePolicy.FetchStrategy - Enum in com.apollographql.apollo.api.cache.http
Represents different fetch strategies for http request / response cache
HttpCachePolicy.Policy - Class in com.apollographql.apollo.api.cache.http
Abstraction for http cache policy configurations
HttpCacheRecord - Interface in com.apollographql.apollo.api.cache.http
 
HttpCacheRecordEditor - Interface in com.apollographql.apollo.api.cache.http
 
HttpCacheStore - Interface in com.apollographql.apollo.api.cache.http
CacheStore is an abstraction for a cache store that is used to read, modify or delete http responses.

I

interceptor() - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Provide http cache interceptor to be injected into OkHttpClient.interceptors.

N

NETWORK_FIRST - Static variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy
Signals the apollo client to first fetch the GraphQL query response from the network.
NETWORK_ONLY - Static variable in class com.apollographql.apollo.api.cache.http.HttpCachePolicy
Signals the apollo client to fetch the GraphQL query response from the network only.

R

read(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Read cached http response by key
read(String, boolean) - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Read and remove cached http response by key if expireAfterRead == true
remove(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Remove cached http response by key.
remove(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCacheStore
Drops the entry for key if it exists and can be removed.
removeQuietly(String) - Method in interface com.apollographql.apollo.api.cache.http.HttpCache
Remove cached http response by key and suppress any exception

V

valueOf(String) - Static method in enum com.apollographql.apollo.api.cache.http.HttpCachePolicy.FetchStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.apollographql.apollo.api.cache.http.HttpCachePolicy.FetchStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F H I N R V 
Skip navigation links