A B C D E F G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACTIVE - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates there is active connection with the subscription server and GraphQL session has been initialized.
- activeCallsCount() - Method in class com.apollographql.apollo.ApolloClient
-
Returns the count of
ApolloCall&ApolloPrefetchobjects which are currently in progress. - activeCallsCount() - Method in class com.apollographql.apollo.internal.ApolloCallTracker
-
Returns a total count of in progress
ApolloCall&ApolloPrefetchobjects. - addApplicationInterceptor(ApolloInterceptor) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Adds an interceptor that observes the full span of each call: from before the connection is established until after the response source is selected (either the server, cache or both).
- addApplicationInterceptorFactory(ApolloInterceptorFactory) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Adds an interceptorFactory that creates interceptors that observes the full span of each call: from before the connection is established until after the response source is selected (either the server, cache or both).
- addCustomTypeAdapter(ScalarType, CustomTypeAdapter<T>) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the type adapter to use for serializing and de-serializing custom GraphQL scalar types.
- addHeader(String, String) - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
- addHeaders(Map<String, String>) - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
- addOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- addOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Adds new listener for subscription manager state changes.
- addOnSubscriptionManagerStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.ApolloClient
-
Adds new listener for subscription manager state changes.
- ApolloAutoPersistedOperationInterceptor - Class in com.apollographql.apollo.interceptor
- ApolloAutoPersistedOperationInterceptor(ApolloLogger, boolean) - Constructor for class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor
- ApolloAutoPersistedOperationInterceptor.Factory - Class in com.apollographql.apollo.interceptor
- ApolloCacheInterceptor - Class in com.apollographql.apollo.internal.interceptor
-
ApolloCacheInterceptor is a concrete
ApolloInterceptorresponsible for serving requests from the normalized cache ifApolloInterceptor.InterceptorRequest.fetchFromCacheis true. - ApolloCacheInterceptor(ApolloStore, ResponseFieldMapper, Executor, ApolloLogger, boolean) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
- ApolloCall<T> - Interface in com.apollographql.apollo
-
ApolloCall is an abstraction for a request that has been prepared for execution.
- ApolloCall.Builder<T> - Interface in com.apollographql.apollo
- ApolloCall.Callback<T> - Class in com.apollographql.apollo
-
Communicates responses from a server or offline requests.
- ApolloCall.StatusEvent - Enum in com.apollographql.apollo
-
Represents a status event that corresponds to a
ApolloCallaction - ApolloCallTracker - Class in com.apollographql.apollo.internal
-
ApolloCallTracker is responsible for keeping track of running
ApolloPrefetch&ApolloQueryCall&ApolloMutationCall&ApolloQueryWatchercalls. - ApolloCallTracker() - Constructor for class com.apollographql.apollo.internal.ApolloCallTracker
- ApolloCanceledException - Exception in com.apollographql.apollo.exception
- ApolloCanceledException() - Constructor for exception com.apollographql.apollo.exception.ApolloCanceledException
- ApolloCanceledException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloCanceledException
- ApolloClient - Class in com.apollographql.apollo
-
ApolloClient class represents the abstraction for the graphQL client that will be used to execute queries and read the responses back.
- ApolloClient.Builder - Class in com.apollographql.apollo
- ApolloHttpException - Exception in com.apollographql.apollo.exception
- ApolloHttpException(Response) - Constructor for exception com.apollographql.apollo.exception.ApolloHttpException
- ApolloInterceptor - Interface in com.apollographql.apollo.interceptor
-
ApolloInterceptor is responsible for observing and modifying the requests going out and the corresponding responses coming back in.
- ApolloInterceptor.CallBack - Interface in com.apollographql.apollo.interceptor
-
Handles the responses returned by
ApolloInterceptor - ApolloInterceptor.FetchSourceType - Enum in com.apollographql.apollo.interceptor
-
Fetch source type
- ApolloInterceptor.InterceptorRequest - Class in com.apollographql.apollo.interceptor
-
Request to be proceed with
ApolloInterceptor - ApolloInterceptor.InterceptorRequest.Builder - Class in com.apollographql.apollo.interceptor
- ApolloInterceptor.InterceptorResponse - Class in com.apollographql.apollo.interceptor
-
InterceptorResponse class represents the response returned by the
ApolloInterceptor. - ApolloInterceptorChain - Interface in com.apollographql.apollo.interceptor
-
ApolloInterceptorChain is responsible for building chain of
ApolloInterceptor. - ApolloMutationCall<T> - Interface in com.apollographql.apollo
-
A call prepared to execute GraphQL mutation operation.
- ApolloMutationCall.Builder<T> - Interface in com.apollographql.apollo
- ApolloMutationCall.Factory - Interface in com.apollographql.apollo
-
Factory for creating
ApolloMutationCallcalls. - ApolloNetworkException - Exception in com.apollographql.apollo.exception
- ApolloNetworkException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloNetworkException
- ApolloNetworkException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloNetworkException
- ApolloParseException - Exception in com.apollographql.apollo.exception
- ApolloParseException(String) - Constructor for exception com.apollographql.apollo.exception.ApolloParseException
- ApolloParseException(String, Throwable) - Constructor for exception com.apollographql.apollo.exception.ApolloParseException
- ApolloParseInterceptor - Class in com.apollographql.apollo.internal.interceptor
-
ApolloParseInterceptor is a concrete
ApolloInterceptorresponsible for inflating the http responses into models. - ApolloParseInterceptor(HttpCache, ResponseNormalizer<Map<String, Object>>, ResponseFieldMapper, ScalarTypeAdapters, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
- ApolloPrefetch - Interface in com.apollographql.apollo
-
ApolloPrefetch is an abstraction for a request that has been prepared for execution.
- ApolloPrefetch.Callback - Class in com.apollographql.apollo
-
Communicates responses from the server.
- ApolloPrefetch.Factory - Interface in com.apollographql.apollo
-
Factory for creating ApolloPrefetch object.
- ApolloQueryCall<T> - Interface in com.apollographql.apollo
-
A call prepared to execute GraphQL query operation.
- ApolloQueryCall.Builder<T> - Interface in com.apollographql.apollo
- ApolloQueryCall.Factory - Interface in com.apollographql.apollo
-
Factory for creating
ApolloQueryCallcalls. - ApolloQueryWatcher<T> - Interface in com.apollographql.apollo
- ApolloResponseFetchers - Class in com.apollographql.apollo.fetcher
- ApolloResponseFetchers() - Constructor for class com.apollographql.apollo.fetcher.ApolloResponseFetchers
- apolloStore() - Method in class com.apollographql.apollo.ApolloClient
-
Deprecated.Use getApolloStore() instead.
- apolloStore(ApolloStore) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- ApolloSubscriptionCall<T> - Interface in com.apollographql.apollo
-
ApolloSubscriptionCallis an abstraction for a request that has been prepared for subscription. - ApolloSubscriptionCall.CachePolicy - Enum in com.apollographql.apollo
-
Subscription normalized cache policy.
- ApolloSubscriptionCall.Callback<T> - Interface in com.apollographql.apollo
-
Communicates responses from a subscription server.
- ApolloSubscriptionCall.Factory - Interface in com.apollographql.apollo
-
Factory for creating
ApolloSubscriptionCallcalls. - ApolloSubscriptionException - Exception in com.apollographql.apollo.internal.subscription
- ApolloSubscriptionException(String) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionException
- ApolloSubscriptionException(String, Throwable) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionException
- ApolloSubscriptionServerException - Exception in com.apollographql.apollo.internal.subscription
- ApolloSubscriptionServerException(Map<String, Object>) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionServerException
- ApolloSubscriptionTerminatedException - Exception in com.apollographql.apollo.internal.subscription
- ApolloSubscriptionTerminatedException(String) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionTerminatedException
- ApolloSubscriptionTerminatedException(String, Throwable) - Constructor for exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionTerminatedException
- applicationInterceptorFactories(List<ApolloInterceptorFactory>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- applicationInterceptors(List<ApolloInterceptor>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- autoPersistedOperationsInterceptorFactory(ApolloInterceptorFactory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- autoPersistQueries - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- autoPersistQueries(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
B
- build() - Method in interface com.apollographql.apollo.ApolloCall.Builder
- build() - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Builds the
ApolloClientinstance using the configured values. - build() - Method in interface com.apollographql.apollo.ApolloMutationCall.Builder
- build() - Method in interface com.apollographql.apollo.ApolloQueryCall.Builder
- build() - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- build() - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- build() - Method in class com.apollographql.apollo.request.RequestHeaders.Builder
- builder() - Static method in class com.apollographql.apollo.ApolloClient
- builder() - Static method in class com.apollographql.apollo.internal.RealApolloCall
- builder() - Static method in class com.apollographql.apollo.request.RequestHeaders
- builder(Operation) - Static method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- Builder() - Constructor for class com.apollographql.apollo.request.RequestHeaders.Builder
C
- CACHE - com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
-
Response is fetched from the cache (SQLite or memory or both)
- CACHE_AND_NETWORK - com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
-
Signals the apollo subscription client to first fetch the GraphQL response from the cache, then fetch it from network.
- CACHE_AND_NETWORK - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
-
Signal the apollo client to fetch the data from both the network and the cache.
- CACHE_FIRST - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
-
Signals the apollo client to first fetch the data from the normalized cache.
- CACHE_ONLY - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
-
Signals the apollo client to only fetch the data from the normalized cache.
- CacheAndNetworkFetcher - Class in com.apollographql.apollo.internal.fetcher
-
Signal the apollo client to fetch the data from both the network and the cache.
- CacheAndNetworkFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheAndNetworkFetcher
- CacheFirstFetcher - Class in com.apollographql.apollo.internal.fetcher
-
Signals the apollo client to first fetch the data from the normalized cache.
- CacheFirstFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheFirstFetcher
- cacheHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloCall.Builder
-
Sets the
CacheHeadersto use for this call. - cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloCall
-
Deprecated.
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall.Builder
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
-
Deprecated.
- cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall.Builder
-
Sets the
CacheHeadersto use for this call. - cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
Deprecated.
- cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall
- cacheKeyResolver() - Method in class com.apollographql.apollo.internal.RealApolloStore
- CacheOnlyFetcher - Class in com.apollographql.apollo.internal.fetcher
-
Signals the apollo client to only fetch the data from the normalized cache.
- CacheOnlyFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.CacheOnlyFetcher
- cachePolicy(ApolloSubscriptionCall.CachePolicy) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
-
Sets the cache policy for response/request cache.
- cachePolicy(ApolloSubscriptionCall.CachePolicy) - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
- cacheRecords - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
- cacheRecords - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
- cacheResponseNormalizer() - Method in class com.apollographql.apollo.internal.RealApolloStore
- Callback() - Constructor for class com.apollographql.apollo.ApolloCall.Callback
- Callback() - Constructor for class com.apollographql.apollo.ApolloPrefetch.Callback
- callFactory(Call.Factory) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the custom call factory for creating
Callinstances. - cancel() - Method in interface com.apollographql.apollo.ApolloCall
-
Cancels this
ApolloCall. - cancel() - Method in interface com.apollographql.apollo.ApolloPrefetch
-
Cancels this
ApolloPrefetch. - cancel() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
-
Cancels this
ApolloQueryWatcher. - cancel() - Method in class com.apollographql.apollo.internal.RealApolloCall
- cancel() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
- cancel() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
- 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.
- clearAll() - Method in class com.apollographql.apollo.internal.RealApolloStore
- clearHttpCache() - Method in class com.apollographql.apollo.ApolloClient
-
Clear all entries from the
HttpCache, if present. - clearNormalizedCache() - Method in class com.apollographql.apollo.ApolloClient
-
Clear all entries from the normalized cache.
- clearNormalizedCache(ApolloStoreOperation.Callback<Boolean>) - Method in class com.apollographql.apollo.ApolloClient
-
Clear all entries from the normalized cache.
- clone() - Method in interface com.apollographql.apollo.ApolloCall
-
Deprecated.
- clone() - Method in interface com.apollographql.apollo.ApolloMutationCall
-
Deprecated.
- 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
-
Deprecated.
- clone() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
-
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.ApolloSubscriptionCall
-
Creates a new, identical call to this one which can be executed even if this call has already been.
- clone() - Method in class com.apollographql.apollo.internal.RealApolloCall
- clone() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
- clone() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
- code() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
- com.apollographql.apollo - package com.apollographql.apollo
- com.apollographql.apollo.exception - package com.apollographql.apollo.exception
- com.apollographql.apollo.fetcher - package com.apollographql.apollo.fetcher
- com.apollographql.apollo.interceptor - package com.apollographql.apollo.interceptor
- com.apollographql.apollo.internal - package com.apollographql.apollo.internal
- com.apollographql.apollo.internal.fetcher - package com.apollographql.apollo.internal.fetcher
- 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.subscription - package com.apollographql.apollo.internal.subscription
- com.apollographql.apollo.internal.util - package com.apollographql.apollo.internal.util
- com.apollographql.apollo.request - package com.apollographql.apollo.request
- com.apollographql.apollo.response - package com.apollographql.apollo.response
- com.apollographql.apollo.subscription - package com.apollographql.apollo.subscription
- COMPLETED - com.apollographql.apollo.ApolloCall.StatusEvent
-
ApolloCallis finished its execution - connect() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
-
Opens connection to the subscription server
- CONNECTED - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates there is active connection with the subscription server, waiting for GraphQL session to be initialized.
- CONNECTING - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates manager is trying to connect to the subscription server.
- Const(SubscriptionConnectionParams) - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider.Const
- create(Operation) - Method in class com.apollographql.apollo.internal.ResponseFieldMapperFactory
-
Deprecated.
- create(SubscriptionTransport.Callback) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Factory
-
Creates and prepares a new
SubscriptionTransport.
D
- defaultCacheHeaders() - Method in class com.apollographql.apollo.ApolloClient
-
Deprecated.Use getDefaultCacheHeaders() instead
- defaultCacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the default
CacheHeadersstrategy that will be passed to thecom.apollographql.apollo.interceptor.FetchOptionsused in each newApolloCall. - defaultHttpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets the http cache policy to be used as default for all GraphQL
Queryoperations. - defaultResponseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the default
ResponseFetcherto be used with each newApolloCall. - disableSubscriptions() - Method in class com.apollographql.apollo.ApolloClient
-
Call
stopon the subscriptionManager. - disconnect(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
-
Disconnects from the subscription server.
- DISCONNECTED - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates there is no active connection to the subscription server.
- dispatcher(Executor) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
The #
Executorto use for dispatching the requests. - dispatcher(Executor) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- dispose() - Method in class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor
- dispose() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor
-
Disposes of the resources which are no longer required.
- dispose() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptorChain
-
Disposes of the resources which are no longer required.
- dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
- dispose() - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
- dispose() - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
E
- enableAutoPersistedQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
- enableAutoPersistedQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- enableAutoPersistedSubscriptions(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
- enableSubscriptions() - Method in class com.apollographql.apollo.ApolloClient
-
Call
starton the subscriptionManager. - enqueue(ApolloCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloCall
-
Schedules the request to be executed at some point in the future.
- enqueue(ApolloCall.Callback<T>) - Method in class com.apollographql.apollo.internal.RealApolloCall
- enqueue(ApolloPrefetch.Callback) - Method in interface com.apollographql.apollo.ApolloPrefetch
-
Schedules the request to be executed at some point in the future.
- enqueue(ApolloPrefetch.Callback) - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
- enqueueAndWatch(ApolloCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
- errorPayload - Variable in exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionServerException
- execute(ApolloSubscriptionCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
-
Sends
Subscriptionto the subscription server and starts listening for the pushed updates. - execute(ApolloSubscriptionCall.Callback<T>) - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
F
- Factory() - Constructor for class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor.Factory
- Factory(boolean, boolean, boolean) - Constructor for class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor.Factory
- FETCH_CACHE - com.apollographql.apollo.ApolloCall.StatusEvent
-
ApolloCallfetches response from cache - FETCH_NETWORK - com.apollographql.apollo.ApolloCall.StatusEvent
-
ApolloCallfetches response from network - fetchFromCache - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- fetchFromCache(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
G
- getApolloStore() - Method in class com.apollographql.apollo.ApolloClient
- getApplicationInterceptorFactories() - Method in class com.apollographql.apollo.ApolloClient
- getApplicationInterceptors() - Method in class com.apollographql.apollo.ApolloClient
- getAutoPersistedOperationsInterceptorFactory() - Method in class com.apollographql.apollo.ApolloClient
- getDefaultCacheHeaders() - Method in class com.apollographql.apollo.ApolloClient
- getHttpCache() - Method in class com.apollographql.apollo.ApolloClient
- getScalarTypeAdapters() - Method in class com.apollographql.apollo.ApolloClient
- getServerUrl() - Method in class com.apollographql.apollo.ApolloClient
- getState() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- getState() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Returns the current state of subscription manager.
- getSubscriptionManager() - Method in class com.apollographql.apollo.ApolloClient
- getSubscriptionManagerState() - Method in class com.apollographql.apollo.ApolloClient
-
Returns the current state of subscription manager.
H
- hasHeader(String) - Method in class com.apollographql.apollo.request.RequestHeaders
- headers() - Method in class com.apollographql.apollo.request.RequestHeaders
- headerValue(String) - Method in class com.apollographql.apollo.request.RequestHeaders
- httpCache(HttpCache) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the configuration to be used for request/response http cache.
- httpCache(HttpCache) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- httpCachePolicy(HttpCachePolicy.Policy) - Method in interface com.apollographql.apollo.ApolloQueryCall.Builder
-
Sets the http cache policy for response/request cache.
- httpCachePolicy(HttpCachePolicy.Policy) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
Deprecated.
- httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- httpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.internal.RealApolloCall
- httpCallFactory(Call.Factory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- httpResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
I
- idleCallback(IdleResourceCallback) - Method in class com.apollographql.apollo.ApolloClient
-
Sets the idleResourceCallback which will be called when this ApolloClient is idle.
- IdleResourceCallback - Interface in com.apollographql.apollo
-
Callback which gets invoked when the resource transitions from active to idle state.
- interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor
- interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor
-
Intercepts the outgoing request and performs non blocking operations on the request or the response returned by the next set of interceptors in the chain.
- interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloCacheInterceptor
- interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloParseInterceptor
- InterceptorResponse(Response) - Constructor for class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
- InterceptorResponse(Response, Response, Collection<Record>) - Constructor for class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
- isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloCall
- isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
- isCanceled() - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
- isCanceled() - Method in interface com.apollographql.apollo.internal.util.Cancelable
-
Checks if this operation has been canceled.
L
- logger(ApolloLogger) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- logger(Logger) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
The
Loggerto use for logging purposes.
M
- MapFieldValueResolver - Class in com.apollographql.apollo.internal.field
- MapFieldValueResolver() - Constructor for class com.apollographql.apollo.internal.field.MapFieldValueResolver
- merge(Record, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
- merge(Collection<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
- message() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
- mutate(Mutation<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
- mutate(Mutation<D, T, V>) - Method in interface com.apollographql.apollo.ApolloMutationCall.Factory
-
Creates and prepares a new
ApolloMutationCallcall. - mutate(Mutation<D, T, V>, D) - Method in class com.apollographql.apollo.ApolloClient
- mutate(Mutation<D, T, V>, D) - Method in interface com.apollographql.apollo.ApolloMutationCall.Factory
-
Creates and prepares a new
ApolloMutationCallcall with optimistic updates.
N
- NETWORK - com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
-
Response is fetched from the network
- NETWORK_FIRST - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
-
Signals the apollo client to first fetch the data from the network.
- NETWORK_ONLY - com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
-
Signals the apollo subscription client to fetch the GraphQL response from the network only and cache it to normalized cache.
- NETWORK_ONLY - Static variable in class com.apollographql.apollo.fetcher.ApolloResponseFetchers
-
Signals the apollo client to only fetch the GraphQL data from the network.
- NetworkFirstFetcher - Class in com.apollographql.apollo.internal.fetcher
-
Signals the apollo client to first fetch the data from the network.
- NetworkFirstFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.NetworkFirstFetcher
- NetworkOnlyFetcher - Class in com.apollographql.apollo.internal.fetcher
-
Signals the apollo client to only fetch the GraphQL data from the network.
- NetworkOnlyFetcher() - Constructor for class com.apollographql.apollo.internal.fetcher.NetworkOnlyFetcher
- networkResponseNormalizer() - Method in class com.apollographql.apollo.internal.RealApolloStore
- newBuilder() - Method in class com.apollographql.apollo.ApolloClient
- newInterceptor(ApolloLogger, Operation<?, ?, ?>) - Method in class com.apollographql.apollo.interceptor.ApolloAutoPersistedOperationInterceptor.Factory
- NO_CACHE - com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
-
Signals the apollo subscription client to bypass normalized cache.
- NONE - Static variable in class com.apollographql.apollo.request.RequestHeaders
- normalizedCache() - Method in class com.apollographql.apollo.internal.RealApolloStore
- normalizedCache(NormalizedCacheFactory) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the configuration to be used for normalized cache.
- normalizedCache(NormalizedCacheFactory, CacheKeyResolver) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the configuration to be used for normalized cache.
- normalizedCache(NormalizedCacheFactory, CacheKeyResolver, boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the configuration to be used for normalized cache.
O
- okHttpClient(OkHttpClient) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the
OkHttpClientto use for making network requests. - onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called when
ApolloCallhas been canceled. - onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when
ApolloCallhas been canceled. - onClosed() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
-
Gets called when connection with subscription server is closed.
- onCompleted() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
-
Gets called when final GraphQL response is received.
- onCompleted() - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
-
Called after the last call to
ApolloInterceptor.CallBack.onResponse(com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse). - onCompleted() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
- onConnected() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
-
Gets called when GraphQL subscription server connection is opened.
- onConnected() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
- onConnected() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
-
Gets called when connection with subscription server has been established.
- onError(ApolloSubscriptionException) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.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.ApolloSubscriptionCall.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.
- onFailure(Throwable) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
-
Gets called when an unexpected exception occurs during communication to the server.
- onFetch(ApolloInterceptor.FetchSourceType) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptor.CallBack
-
Called when interceptor starts fetching response from source type
- 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.
- onMessage(OperationServerMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Callback
-
Gets called when subscription server pushed new updates.
- 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.
- onNetworkError(Throwable) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
- 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(Response<T>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.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.
- onResponse(SubscriptionResponse<T>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
- onStateChange(SubscriptionManagerState, SubscriptionManagerState) - Method in interface com.apollographql.apollo.subscription.OnSubscriptionManagerStateChangeListener
-
Called when subscription manager state changed.
- onStatusEvent(ApolloCall.StatusEvent) - Method in class com.apollographql.apollo.ApolloCall.Callback
-
Gets called whenever any action happen to this
ApolloCall. - OnSubscriptionManagerStateChangeListener - Interface in com.apollographql.apollo.subscription
-
Represents a callback for subscription manager state changes.
- onSuccess() - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
-
Gets called when the request has succeeded.
- onTerminated() - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Callback
-
Gets called when GraphQL subscription server connection is closed unexpectedly.
- onTerminated() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager.Callback
- operation - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- 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() - Method in class com.apollographql.apollo.internal.RealApolloCall
- operation() - Method in class com.apollographql.apollo.internal.RealApolloPrefetch
- operation(Operation) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- OperationResponseParser<D extends com.apollographql.apollo.api.Operation.Data,W> - Class in com.apollographql.apollo.response
- OperationResponseParser(Operation<D, W, ?>, ResponseFieldMapper, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.response.OperationResponseParser
- OperationResponseParser(Operation<D, W, ?>, ResponseFieldMapper, ScalarTypeAdapters, ResponseNormalizer<Map<String, Object>>) - Constructor for class com.apollographql.apollo.response.OperationResponseParser
- optimisticUpdates - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- optimisticUpdates(Operation.Data) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
P
- parse(Map<String, Object>) - Method in class com.apollographql.apollo.response.OperationResponseParser
- parse(BufferedSource) - Method in class com.apollographql.apollo.response.OperationResponseParser
- parsedResponse - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
- parseError(Map<String, Object>) - Static method in class com.apollographql.apollo.response.OperationResponseParser
- prefetch(Operation<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
- prefetch(Operation<D, T, V>) - Method in interface com.apollographql.apollo.ApolloPrefetch.Factory
-
Creates the ApolloPrefetch by wrapping the operation object inside.
- proceedAsync(ApolloInterceptor.InterceptorRequest, Executor, ApolloInterceptor.CallBack) - Method in interface com.apollographql.apollo.interceptor.ApolloInterceptorChain
-
Passes the control over to the next
ApolloInterceptorin the responsibility chain and immediately exits as this is a non blocking call. - proceedAsync(ApolloInterceptor.InterceptorRequest, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
- provide() - Method in class com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider.Const
- provide() - Method in interface com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider
- provideInterceptor(ApolloLogger) - Method in interface com.apollographql.apollo.fetcher.ResponseFetcher
- provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheAndNetworkFetcher
- provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheFirstFetcher
- provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.CacheOnlyFetcher
- provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.NetworkFirstFetcher
- provideInterceptor(ApolloLogger) - Method in class com.apollographql.apollo.internal.fetcher.NetworkOnlyFetcher
- publish(Set<String>) - Method in class com.apollographql.apollo.internal.RealApolloStore
Q
- query(Query<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
- query(Query<D, T, V>) - Method in interface com.apollographql.apollo.ApolloQueryCall.Factory
-
Creates and prepares a new
ApolloQueryCallcall.
R
- rawResponse() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
- read(ResponseFieldMapper<F>, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.RealApolloStore
- read(Operation<D, T, V>) - Method in class com.apollographql.apollo.internal.RealApolloStore
- read(Operation<D, T, V>, ResponseFieldMapper<D>, ResponseNormalizer<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
- read(String, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
- read(Collection<String>, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
- readTransaction(Transaction<ReadableStore, R>) - Method in class com.apollographql.apollo.internal.RealApolloStore
- RealApolloCall<T> - Class in com.apollographql.apollo.internal
- RealApolloCall.Builder<T> - Class in com.apollographql.apollo.internal
- RealApolloInterceptorChain - Class in com.apollographql.apollo.internal.interceptor
-
RealApolloInterceptorChain is responsible for building the entire interceptor chain.
- RealApolloInterceptorChain(List<ApolloInterceptor>) - Constructor for class com.apollographql.apollo.internal.interceptor.RealApolloInterceptorChain
- RealApolloPrefetch - Class in com.apollographql.apollo.internal
- RealApolloPrefetch(Operation, HttpUrl, Call.Factory, ScalarTypeAdapters, Executor, ApolloLogger, ApolloCallTracker) - Constructor for class com.apollographql.apollo.internal.RealApolloPrefetch
- RealApolloStore - Class in com.apollographql.apollo.internal
- RealApolloStore(NormalizedCache, CacheKeyResolver, ScalarTypeAdapters, Executor, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.RealApolloStore
- RealApolloSubscriptionCall<T> - Class in com.apollographql.apollo.internal
- RealApolloSubscriptionCall(Subscription<?, T, ?>, SubscriptionManager, ApolloStore, ApolloSubscriptionCall.CachePolicy, Executor, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.RealApolloSubscriptionCall
- RealSubscriptionManager - Class in com.apollographql.apollo.internal.subscription
- RealSubscriptionManager(ScalarTypeAdapters, SubscriptionTransport.Factory, SubscriptionConnectionParamsProvider, Executor, long, Function0<ResponseNormalizer<Map<String, Object>>>, boolean) - Constructor for class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- reconnect() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- reconnect() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Reconnect the web socket.
- refetch() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
-
Re-fetches watched GraphQL query.
- refetchQueries(OperationName...) - Method in interface com.apollographql.apollo.ApolloMutationCall
-
Deprecated.
- refetchQueries(OperationName...) - Method in class com.apollographql.apollo.internal.RealApolloCall
- refetchQueries(Query...) - Method in interface com.apollographql.apollo.ApolloMutationCall
-
Deprecated.
- refetchQueries(Query...) - Method in class com.apollographql.apollo.internal.RealApolloCall
- refetchQueries(List<Query>) - Method in interface com.apollographql.apollo.ApolloMutationCall.Builder
-
Sets a list of
Queryto be re-fetched once this mutation completed. - refetchQueries(List<Query>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- refetchQueryNames(List<OperationName>) - Method in interface com.apollographql.apollo.ApolloMutationCall.Builder
-
Sets a list of
ApolloQueryWatcherquery names to be re-fetched once this mutation completed. - refetchQueryNames(List<OperationName>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- refetchResponseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
- remove(CacheKey) - Method in class com.apollographql.apollo.internal.RealApolloStore
- remove(CacheKey, boolean) - Method in class com.apollographql.apollo.internal.RealApolloStore
- remove(List<CacheKey>) - Method in class com.apollographql.apollo.internal.RealApolloStore
- removeOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- removeOnStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Removes listener for subscription manager state changes.
- removeOnSubscriptionManagerStateChangeListener(OnSubscriptionManagerStateChangeListener) - Method in class com.apollographql.apollo.ApolloClient
-
Removes listener for subscription manager state changes.
- requestHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall.Builder
-
Sets the
RequestHeadersto use for this call. - requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
-
Deprecated.
- requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall.Builder
-
Sets the
RequestHeadersto use for this call. - requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
Deprecated.
- requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.internal.RealApolloCall
- RequestHeaders - Class in com.apollographql.apollo.request
-
A key/value collection of HTTP headers which are added to a request.
- RequestHeaders.Builder - Class in com.apollographql.apollo.request
- response - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
- responseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryCall.Builder
-
Sets the
ResponseFetcherstrategy for an ApolloCall object. - responseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryCall
-
Deprecated.
- responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall
- ResponseFetcher - Interface in com.apollographql.apollo.fetcher
-
A ResponseFetcher is an
ApolloInterceptorinserted at the beginning of a request chain. - responseFieldMapperFactory(ResponseFieldMapperFactory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
-
Deprecated.The mapper factory is no longer used and will be removed in the future.
- ResponseFieldMapperFactory - Class in com.apollographql.apollo.internal
-
Deprecated.The mapper is no longer used and will be removed in a future version
- ResponseFieldMapperFactory() - Constructor for class com.apollographql.apollo.internal.ResponseFieldMapperFactory
-
Deprecated.
- rollbackOptimisticUpdates(UUID) - Method in class com.apollographql.apollo.internal.RealApolloStore
- rollbackOptimisticUpdatesAndPublish(UUID) - Method in class com.apollographql.apollo.internal.RealApolloStore
S
- scalarTypeAdapters(ScalarTypeAdapters) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- SCHEDULED - com.apollographql.apollo.ApolloCall.StatusEvent
-
ApolloCallis scheduled for execution - send(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
-
Sends
OperationClientMessagemessage to the subscription server. - sendQueryDocument - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- sendQueryDocument(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- serverUrl(String) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the API server's base url.
- serverUrl(HttpUrl) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Set the API server's base url.
- serverUrl(HttpUrl) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- setAutoPersistedOperationsInterceptorFactory(ApolloInterceptorFactory) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets the interceptor to use for auto persisted operations.
- setIdleResourceCallback(IdleResourceCallback) - Method in class com.apollographql.apollo.internal.ApolloCallTracker
-
Registers idleResourceCallback which is invoked when the apolloClient becomes idle.
- start() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
-
Set the
RealSubscriptionManagerto a connectible state. - start() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Put the
SubscriptionManagerin a connectible state. - stop() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
-
Unsubscribe from all active subscriptions, and disconnect the web socket.
- stop() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Unsubscribe from all active subscriptions, and disconnect the web socket.
- STOPPED - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates user stopped GraphQL session and disconnected from the subscription server.
- STOPPING - com.apollographql.apollo.subscription.SubscriptionManagerState
-
Indicates user initiates manager to stop GraphQL session and disconnect from the subscription server.
- subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Starts provided subscription.
- subscribe(Subscription<D, T, V>) - Method in class com.apollographql.apollo.ApolloClient
- subscribe(Subscription<D, T, V>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall.Factory
-
Creates and prepares a new
ApolloSubscriptionCallcall. - subscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.RealApolloStore
- subscription - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
- subscriptionConnectionParams(SubscriptionConnectionParams) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets up subscription connection parameters to be sent to the server when connection is established with subscription server
- subscriptionConnectionParams(SubscriptionConnectionParamsProvider) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets up subscription connection parameters to be sent to the server when connection is established with subscription server
- SubscriptionConnectionParams - Class in com.apollographql.apollo.subscription
-
Represents connection parameters to be sent after connection with subscription server is established.
- SubscriptionConnectionParams() - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParams
- SubscriptionConnectionParams(Map<? extends String, ?>) - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParams
- SubscriptionConnectionParamsProvider - Interface in com.apollographql.apollo.subscription
-
Provides instance of
SubscriptionConnectionParamsto be sent to the subscription server after connection is established. - SubscriptionConnectionParamsProvider.Const - Class in com.apollographql.apollo.subscription
- subscriptionHeartbeatTimeout(long, TimeUnit) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets up subscription heartbeat message timeout.
- SubscriptionManager - Interface in com.apollographql.apollo.internal.subscription
- SubscriptionManager.Callback<T> - Interface in com.apollographql.apollo.internal.subscription
- SubscriptionManagerState - Enum in com.apollographql.apollo.subscription
-
Subscription manager state.
- SubscriptionResponse<T> - Class in com.apollographql.apollo.internal.subscription
- SubscriptionResponse(Subscription<?, T, ?>, Response<T>, Collection<Record>) - Constructor for class com.apollographql.apollo.internal.subscription.SubscriptionResponse
- SubscriptionTransport - Interface in com.apollographql.apollo.subscription
-
ApolloSubscriptionCallis an abstraction for network transport layer that handles connection to the subscription server. - SubscriptionTransport.Callback - Interface in com.apollographql.apollo.subscription
-
Communicates responses from a subscription server.
- SubscriptionTransport.Factory - Interface in com.apollographql.apollo.subscription
-
Factory for creating new
SubscriptionTransporttransport layer. - subscriptionTransportFactory(SubscriptionTransport.Factory) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets up subscription transport factory to be used for subscription server communication.
T
- toBuilder() - Method in interface com.apollographql.apollo.ApolloCall
- toBuilder() - Method in interface com.apollographql.apollo.ApolloMutationCall
- toBuilder() - Method in interface com.apollographql.apollo.ApolloQueryCall
- toBuilder() - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- toBuilder() - Method in class com.apollographql.apollo.internal.RealApolloCall
- toBuilder() - Method in class com.apollographql.apollo.request.RequestHeaders
- tracker(ApolloCallTracker) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
U
- uniqueId - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- unsubscribe(Subscription) - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
- unsubscribe(Subscription<?, ?, ?>) - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
-
Stops provided subscription.
- unsubscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.RealApolloStore
- useHttpGetMethodForPersistedQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets flag whether GraphQL Persisted queries should be sent via HTTP GET requests.
- useHttpGetMethodForPersistedQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- useHttpGetMethodForQueries - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
- useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.ApolloClient.Builder
-
Sets flag whether GraphQL queries should be sent via HTTP GET requests.
- useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
- useHttpGetMethodForQueries(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
V
- valueFor(Map<String, Object>, ResponseField) - Method in class com.apollographql.apollo.internal.field.MapFieldValueResolver
- valueOf(String) - Static method in enum com.apollographql.apollo.ApolloCall.StatusEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.apollographql.apollo.subscription.SubscriptionManagerState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.apollographql.apollo.ApolloCall.StatusEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.apollographql.apollo.ApolloSubscriptionCall.CachePolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.apollographql.apollo.interceptor.ApolloInterceptor.FetchSourceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.apollographql.apollo.subscription.SubscriptionManagerState
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- watcher() - Method in interface com.apollographql.apollo.ApolloQueryCall
-
Returns a watcher to watch the changes to the normalized cache records this query depends on or when mutation call triggers to re-fetch this query after it completes via
ApolloMutationCall.refetchQueries(OperationName...) - watcher() - Method in class com.apollographql.apollo.internal.RealApolloCall
- write(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.RealApolloStore
- write(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.RealApolloStore
- writeAndPublish(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.RealApolloStore
- writeAndPublish(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.RealApolloStore
- writeOptimisticUpdates(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.RealApolloStore
- writeOptimisticUpdatesAndPublish(Operation<D, T, V>, D, UUID) - Method in class com.apollographql.apollo.internal.RealApolloStore
- writeToNormalizedCacheAsynchronously(boolean) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
- writeTransaction(Transaction<WriteableStore, R>) - Method in class com.apollographql.apollo.internal.RealApolloStore
All Classes All Packages