- CACHE_EXPIRE_AFTER_READ_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- CACHE_EXPIRE_TIMEOUT_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- CACHE_FETCH_STRATEGY_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- CACHE_FIRST - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
-
Signals the apollo client to first fetch the GraphQL query response from the http cache.
- CACHE_KEY_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- CACHE_ONLY - Static variable in class com.apollographql.apollo.cache.http.HttpCachePolicy
-
Signals the apollo client to fetch the GraphQL query response from the http cache only.
- CACHE_PREFETCH_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- CACHE_SERVED_DATE_HEADER - Static variable in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- cacheControl(CacheControl) - Method in interface com.apollographql.apollo.ApolloCall
-
- cacheControl(CacheControl) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
- CacheControl - Enum in com.apollographql.apollo.cache.normalized
-
- cacheControl(CacheControl) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
-
- cacheControl(CacheControl) - Method in class com.apollographql.apollo.internal.RealApolloCall
-
- CacheFieldValueResolver - Class in com.apollographql.apollo.internal.field
-
- CacheFieldValueResolver(ReadableStore, Operation.Variables, CacheKeyResolver, CacheHeaders) - Constructor for class com.apollographql.apollo.internal.field.CacheFieldValueResolver
-
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloCall
-
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
-
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
- CacheHeaders - Class in com.apollographql.apollo.cache
-
- cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
-
- cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall
-
- CacheHeaders.Builder - Class in com.apollographql.apollo.cache
-
- cacheJsonStreamReader(BufferedSourceJsonReader) - Static method in class com.apollographql.apollo.internal.json.ApolloJsonReader
-
- CacheJsonStreamReader - Class in com.apollographql.apollo.internal.json
-
- CacheJsonStreamReader(JsonReader) - Constructor for class com.apollographql.apollo.internal.json.CacheJsonStreamReader
-
- CacheKey - Class in com.apollographql.apollo.cache.normalized
-
- cacheKey(RequestBody) - Static method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
-
- cacheKeyResolver() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
-
- CacheKeyResolver - Class in com.apollographql.apollo.cache.normalized
-
Resolves a cache key for a JSON object.
- CacheKeyResolver() - Constructor for class com.apollographql.apollo.cache.normalized.CacheKeyResolver
-
- cacheKeyResolver() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
-
- cacheKeyResolver() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
-
- cacheRecord(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
-
- cacheRecord(String) - Method in interface com.apollographql.apollo.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 class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
-
- cacheRecordEditor(String) - Method in interface com.apollographql.apollo.cache.http.HttpCacheStore
-
Returns an editor for the entry named cacheKey or null if another edit is in progress.
- cacheRecords - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
-
- CacheReference - Class in com.apollographql.apollo.cache.normalized
-
- CacheReference(String) - Constructor for class com.apollographql.apollo.cache.normalized.CacheReference
-
- cacheResponseNormalizer() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
-
- cacheResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
-
- cacheResponseNormalizer() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
-
- calculateBytes(Record) - Static method in class com.apollographql.apollo.internal.cache.normalized.RecordWeigher
-
- Callback() - Constructor for class com.apollographql.apollo.ApolloCall.Callback
-
- Callback() - Constructor for class com.apollographql.apollo.ApolloPrefetch.Callback
-
- cancel() - Method in class com.apollographql.apollo.internal.RealApolloCall
-
- cancel() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
-
- cancel() - Method in interface com.apollographql.apollo.internal.util.Cancelable
-
Cancels the operation.
- Cancelable - Interface in com.apollographql.apollo.internal.util
-
Represents an operation which can be canceled.
- canDeserialize(String) - Static method in class com.apollographql.apollo.cache.normalized.CacheReference
-
- clear() - Method in class com.apollographql.apollo.internal.cache.http.HttpCache
-
- clearAll() - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore
-
- clearAll() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
-
- clearAll() - Method in class com.apollographql.apollo.cache.normalized.NormalizedCache
-
Clears all records from the cache.
- clearAll() - Method in class com.apollographql.apollo.internal.cache.normalized.NoOpApolloStore
-
- clearAll() - Method in class com.apollographql.apollo.internal.cache.normalized.RealApolloStore
-
- clearAll() - Method in interface com.apollographql.apollo.internal.cache.normalized.WriteableStore
-
- clearNormalizedCache() - Method in class com.apollographql.apollo.ApolloClient
-
Clear all entries from the normalized cache.
- clearPrimaryCache() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
-
Clears all records from the in-memory LRU cache.
- clearSecondaryCache() - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCache
-
Clear all records from the secondary cache.
- clone() - Method in interface com.apollographql.apollo.ApolloCall
-
Creates a new, identical call to this one which can be enqueued or executed even if this call has already been.
- clone() - Method in interface com.apollographql.apollo.ApolloMutationCall
-
- clone() - Method in interface com.apollographql.apollo.ApolloPrefetch
-
Creates a new, identical ApolloPrefetch to this one which can be enqueued or executed even if this one has already
been executed.
- clone() - Method in interface com.apollographql.apollo.ApolloQueryCall
-
- clone() - Method in class com.apollographql.apollo.internal.RealApolloCall
-
- clone() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
-
- close() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecord
-
- close() - Method in class com.apollographql.apollo.internal.json.BufferedSourceJsonReader
-
- code() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
-
- com.apollographql.apollo - package com.apollographql.apollo
-
- com.apollographql.apollo.cache - package com.apollographql.apollo.cache
-
- com.apollographql.apollo.cache.http - package com.apollographql.apollo.cache.http
-
- com.apollographql.apollo.cache.normalized - package com.apollographql.apollo.cache.normalized
-
- com.apollographql.apollo.cache.normalized.lru - package com.apollographql.apollo.cache.normalized.lru
-
- com.apollographql.apollo.exception - package com.apollographql.apollo.exception
-
- com.apollographql.apollo.interceptor - package com.apollographql.apollo.interceptor
-
- com.apollographql.apollo.internal - package com.apollographql.apollo.internal
-
- com.apollographql.apollo.internal.cache.http - package com.apollographql.apollo.internal.cache.http
-
- com.apollographql.apollo.internal.cache.normalized - package com.apollographql.apollo.internal.cache.normalized
-
- com.apollographql.apollo.internal.field - package com.apollographql.apollo.internal.field
-
- com.apollographql.apollo.internal.interceptor - package com.apollographql.apollo.internal.interceptor
-
- com.apollographql.apollo.internal.json - package com.apollographql.apollo.internal.json
-
- com.apollographql.apollo.internal.reader - package com.apollographql.apollo.internal.reader
-
- com.apollographql.apollo.internal.util - package com.apollographql.apollo.internal.util
-
- com.apollographql.apollo.json - package com.apollographql.apollo.json
-
- commit() - Method in interface com.apollographql.apollo.cache.http.HttpCacheRecordEditor
-
- create(Moshi) - Static method in class com.apollographql.apollo.cache.normalized.RecordFieldAdapter
-
- createNormalizedCache(RecordFieldAdapter) - Method in class com.apollographql.apollo.cache.normalized.lru.LruNormalizedCacheFactory
-
- createNormalizedCache(RecordFieldAdapter) - Method in interface com.apollographql.apollo.cache.normalized.NormalizedCacheFactory
-
- CustomTypeAdapter<T> - Interface in com.apollographql.apollo
-
CustomTypeAdapter class represents the adapter for converting GraphQL custom scalar types to Java objects.
- customTypeAdapters(Map<ScalarType, CustomTypeAdapter>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
-
- okHttpClient(OkHttpClient) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the OkHttpClient
to use for making network requests.
- onCacheRecordsChanged(Set<String>) - Method in interface com.apollographql.apollo.cache.normalized.ApolloStore.RecordChangeSubscriber
-
- onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
- onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
- onFailure(ApolloException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when an unexpected exception occurs while creating the request or processing the response.
- onFailure(ApolloException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when an unexpected exception occurs while creating the request or processing the response.
- onFailure(ApolloException) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
-
Gets called when an unexpected exception occurs while performing operations on the request or processing the
response returned by the next set of interceptors.
- onHttpError(ApolloHttpException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when an http request error takes place.
- onHttpError(ApolloHttpException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when an http request error takes place.
- onIdle() - Method in interface com.apollographql.apollo.IdleResourceCallback
-
Gets called when the resource transitions from active to idle state.
- onNetworkError(ApolloNetworkException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when an http request error takes place due to network failures, timeouts etc.
- onNetworkError(ApolloNetworkException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when an http request error takes place due to network failures, timeouts etc.
- onParseError(ApolloParseException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when the network request succeeds but there was an error parsing the response.
- onResponse(Response<T>) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when GraphQl response is received and parsed successfully.
- onResponse(ApolloInterceptor.InterceptorResponse) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
-
Gets called when the interceptor returns a response after successfully performing operations on the
request/response.
- onSuccess() - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when the request has succeeded.
- operation() - Method in interface com.apollographql.apollo.ApolloCall
-
Returns GraphQl operation this call executes
- operation() - Method in interface com.apollographql.apollo.ApolloPrefetch
-
Returns GraphQl operation this call executes
- operation() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
-
Returns GraphQl watched operation.
- operation(Operation) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
-
- operation() - Method in class com.apollographql.apollo.internal.RealApolloCall
-
- operation() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
-