Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

activeCallsCount() - Method in class com.apollographql.apollo.ApolloClient
Returns the count of ApolloCall & ApolloPrefetch objects which are currently in progress.
activeCallsCount() - Method in class com.apollographql.apollo.internal.ApolloCallTracker
Returns a total count of in progress ApolloCall & ApolloPrefetch objects.
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).
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.NoOpSubscriptionManager
 
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.
ApolloAutoPersistedQueryInterceptor - Class in com.apollographql.apollo.internal.interceptor
 
ApolloAutoPersistedQueryInterceptor(ApolloLogger, boolean) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloAutoPersistedQueryInterceptor
 
ApolloCacheInterceptor - Class in com.apollographql.apollo.internal.interceptor
ApolloCacheInterceptor is a concrete ApolloInterceptor responsible for serving requests from the normalized cache if InterceptorRequest#fetchFromCache is true.
ApolloCacheInterceptor(ApolloStore, ResponseFieldMapper, Executor, ApolloLogger) - 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.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 ApolloCall action
ApolloCallTracker - Class in com.apollographql.apollo.internal
ApolloCallTracker is responsible for keeping track of running ApolloPrefetch & ApolloQueryCall & ApolloMutationCall & ApolloQueryWatcher calls.
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.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloMutationCall calls.
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 ApolloInterceptor responsible 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.Factory - Interface in com.apollographql.apollo
Factory for creating ApolloQueryCall calls.
ApolloQueryWatcher<T> - Interface in com.apollographql.apollo
 
ApolloResponseFetchers - Class in com.apollographql.apollo.fetcher
 
ApolloResponseFetchers() - Constructor for class com.apollographql.apollo.fetcher.ApolloResponseFetchers
 
ApolloServerInterceptor - Class in com.apollographql.apollo.internal.interceptor
ApolloServerInterceptor is a concrete ApolloInterceptor responsible for making the network calls to the server.
ApolloServerInterceptor(HttpUrl, Call.Factory, HttpCachePolicy.Policy, boolean, ScalarTypeAdapters, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
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
ApolloSubscriptionCall is 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 ApolloSubscriptionCall calls.
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
 
applicationInterceptors(List<ApolloInterceptor>) - 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
 
autoPersistSubscription - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 

B

build() - Method in class com.apollographql.apollo.ApolloClient.Builder
Builds the ApolloClient instance using the configured values.
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(Operation) - Static method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
builder() - Static method in class com.apollographql.apollo.internal.RealApolloCall
 
builder() - Static method in class com.apollographql.apollo.request.RequestHeaders
 
Builder() - Constructor for class com.apollographql.apollo.request.RequestHeaders.Builder
 

C

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(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloCall
Sets the CacheHeaders to use for this call.
cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
 
cacheHeaders(CacheHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the CacheHeaders to use for this call.
cacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
cacheHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
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 Call instances.
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(ApolloStoreOperation.Callback<Boolean>) - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the normalized cache.
clearNormalizedCache() - Method in class com.apollographql.apollo.ApolloClient
Clear all entries from the normalized 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 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.response - package com.apollographql.apollo.internal.response
 
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
 
Complete(String) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
connect() - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Opens connection to the subscription server
connect() - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
ConnectionAcknowledge() - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionAcknowledge
 
ConnectionError(Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
ConnectionKeepAlive() - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionKeepAlive
 
Const(SubscriptionConnectionParams) - Constructor for class com.apollographql.apollo.subscription.SubscriptionConnectionParamsProvider.Const
 
create(Operation) - Method in class com.apollographql.apollo.internal.ResponseFieldMapperFactory
 
create(SubscriptionTransport.Callback) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport.Factory
Creates and prepares a new SubscriptionTransport.
create(SubscriptionTransport.Callback) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport.Factory
 

D

Data(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
defaultCacheHeaders(CacheHeaders) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default CacheHeaders strategy that will be passed to the com.apollographql.apollo.interceptor.FetchOptions used in each new ApolloCall.
defaultCacheHeaders() - Method in class com.apollographql.apollo.ApolloClient
Deprecated.
Use getDefaultCacheHeaders() instead
defaultHttpCachePolicy(HttpCachePolicy.Policy) - Method in class com.apollographql.apollo.ApolloClient.Builder
Sets the http cache policy to be used as default for all GraphQL Query operations.
defaultResponseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the default ResponseFetcher to be used with each new ApolloCall.
disableSubscriptions() - Method in class com.apollographql.apollo.ApolloClient
Call stop on the subscriptionManager.
disconnect(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Disconnects from the subscription server.
disconnect(OperationClientMessage) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
dispatcher(Executor) - Method in class com.apollographql.apollo.ApolloClient.Builder
The #Executor to use for dispatching the requests.
dispatcher(Executor) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
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.ApolloAutoPersistedQueryInterceptor
 
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.ApolloServerInterceptor
 
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 start on 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(ApolloPrefetch.Callback) - Method in interface com.apollographql.apollo.ApolloPrefetch
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 class com.apollographql.apollo.internal.RealApolloPrefetch
 
enqueueAndWatch(ApolloCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloQueryWatcher
 
Error(String, Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
errorPayload - Variable in exception com.apollographql.apollo.internal.subscription.ApolloSubscriptionServerException
 
execute(ApolloSubscriptionCall.Callback<T>) - Method in interface com.apollographql.apollo.ApolloSubscriptionCall
Sends Subscription to the subscription server and starts listening for the pushed updates.
execute(ApolloSubscriptionCall.Callback<T>) - Method in class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 

F

Factory(String, WebSocket.Factory) - Constructor for class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport.Factory
 
fetchFromCache(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
fetchFromCache - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
fromJsonString(String) - Static method in class com.apollographql.apollo.subscription.OperationServerMessage
 

G

getApolloStore() - Method in class com.apollographql.apollo.ApolloClient
 
getApplicationInterceptors() - 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.NoOpSubscriptionManager
 
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
Sets the http cache policy for response/request cache.
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

id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
id - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
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.
Init(Map<String, Object>) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Init
 
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.ApolloAutoPersistedQueryInterceptor
 
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
 
interceptAsync(ApolloInterceptor.InterceptorRequest, ApolloInterceptorChain, Executor, ApolloInterceptor.CallBack) - Method in class com.apollographql.apollo.internal.interceptor.ApolloServerInterceptor
 
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(Logger) - Method in class com.apollographql.apollo.ApolloClient.Builder
The Logger to use for logging purposes.
logger(ApolloLogger) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 

M

MapFieldValueResolver - Class in com.apollographql.apollo.internal.field
 
MapFieldValueResolver() - Constructor for class com.apollographql.apollo.internal.field.MapFieldValueResolver
 
merge(Collection<Record>, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
merge(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>, D) - 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 ApolloMutationCall call.
mutate(Mutation<D, T, V>, D) - Method in interface com.apollographql.apollo.ApolloMutationCall.Factory
Creates and prepares a new ApolloMutationCall call with optimistic updates.

N

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 - 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
 
NONE - Static variable in class com.apollographql.apollo.request.RequestHeaders
 
NoOpSubscriptionManager - Class in com.apollographql.apollo.internal.subscription
 
NoOpSubscriptionManager() - Constructor for class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
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() - Method in class com.apollographql.apollo.internal.RealApolloStore
 

O

okHttpClient(OkHttpClient) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the OkHttpClient to use for making network requests.
onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloCall.Callback
Gets called when ApolloCall has been canceled.
onCanceledError(ApolloCanceledException) - Method in class com.apollographql.apollo.ApolloPrefetch.Callback
Gets called when ApolloCall has 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
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() - 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 - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
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
 
OperationClientMessage - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Init - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Start - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Stop - Class in com.apollographql.apollo.subscription
 
OperationClientMessage.Terminate - Class in com.apollographql.apollo.subscription
 
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
 
OperationServerMessage - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Complete - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionAcknowledge - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionError - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.ConnectionKeepAlive - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Data - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Error - Class in com.apollographql.apollo.subscription
 
OperationServerMessage.Unsupported - Class in com.apollographql.apollo.subscription
 
optimisticUpdates(Operation.Data) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
optimisticUpdates - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
optimisticUpdates(Optional<Operation.Data>) - Method in class com.apollographql.apollo.internal.RealApolloCall.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
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
payload - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 
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 ApolloInterceptor in 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 ApolloQueryCall call.

R

rawMessage - Variable in class com.apollographql.apollo.subscription.OperationServerMessage.Unsupported
 
rawResponse() - Method in exception com.apollographql.apollo.exception.ApolloHttpException
 
read(String, CacheHeaders) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
read(Collection<String>, CacheHeaders) - 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(ResponseFieldMapper<F>, CacheKey, Operation.Variables) - 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, ResponseFieldMapperFactory, ApolloLogger) - Constructor for class com.apollographql.apollo.internal.RealApolloSubscriptionCall
 
RealResponseWriter - Class in com.apollographql.apollo.internal.response
 
RealResponseWriter(Operation.Variables, ScalarTypeAdapters) - Constructor for class com.apollographql.apollo.internal.response.RealResponseWriter
 
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
 
refetch() - Method in interface com.apollographql.apollo.ApolloQueryWatcher
Re-fetches watched GraphQL query.
refetchQueries(OperationName...) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets a list of ApolloQueryWatcher query names to be re-fetched once this mutation completed.
refetchQueries(Query...) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets a list of Query to be re-fetched once this mutation completed.
refetchQueries(List<Query>) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
refetchQueries(OperationName...) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
refetchQueries(Query...) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
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.NoOpSubscriptionManager
 
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(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloMutationCall
Sets the RequestHeaders to use for this call.
requestHeaders(RequestHeaders) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the RequestHeaders to use for this call.
requestHeaders(RequestHeaders) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
requestHeaders - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
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
 
resolveFields(ResolveDelegate<Map<String, Object>>) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
response - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
responseFetcher(ResponseFetcher) - Method in interface com.apollographql.apollo.ApolloQueryCall
Sets the ResponseFetcher strategy for an ApolloCall object.
ResponseFetcher - Interface in com.apollographql.apollo.fetcher
A ResponseFetcher is an ApolloInterceptor inserted at the beginning of a request chain.
responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
responseFetcher(ResponseFetcher) - Method in class com.apollographql.apollo.internal.RealApolloCall
 
responseFieldMapperFactory(ResponseFieldMapperFactory) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
ResponseFieldMapperFactory - Class in com.apollographql.apollo.internal
 
ResponseFieldMapperFactory() - Constructor for class com.apollographql.apollo.internal.ResponseFieldMapperFactory
 
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
 
send(OperationClientMessage) - Method in interface com.apollographql.apollo.subscription.SubscriptionTransport
Sends OperationClientMessage message to the subscription server.
send(OperationClientMessage) - Method in class com.apollographql.apollo.subscription.WebSocketSubscriptionTransport
 
sendQueryDocument(boolean) - Method in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest.Builder
 
sendQueryDocument - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
sendSubscriptionDocument - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
serverUrl(HttpUrl) - Method in class com.apollographql.apollo.ApolloClient.Builder
Set the API server's base url.
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.internal.RealApolloCall.Builder
 
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.NoOpSubscriptionManager
 
start() - Method in class com.apollographql.apollo.internal.subscription.RealSubscriptionManager
Set the RealSubscriptionManager to a connectible state.
start() - Method in interface com.apollographql.apollo.internal.subscription.SubscriptionManager
Put the SubscriptionManager in a connectible state.
Start(String, Subscription<?, ?, ?>, ScalarTypeAdapters, boolean, boolean) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
stop() - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
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.
Stop(String) - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
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 ApolloSubscriptionCall call.
subscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
subscribe(Subscription<?, T, ?>, SubscriptionManager.Callback<T>) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
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.
subscription - Variable in class com.apollographql.apollo.internal.subscription.SubscriptionResponse
 
subscription - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
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 SubscriptionConnectionParams to 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.
subscriptionId - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
subscriptionId - Variable in class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
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
ApolloSubscriptionCall is 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 SubscriptionTransport transport 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

Terminate() - Constructor for class com.apollographql.apollo.subscription.OperationClientMessage.Terminate
 
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
 
toJsonString() - Method in class com.apollographql.apollo.subscription.OperationClientMessage
 
tracker(ApolloCallTracker) - Method in class com.apollographql.apollo.internal.RealApolloCall.Builder
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Complete
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionAcknowledge
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionError
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.ConnectionKeepAlive
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Data
 
TYPE - Static variable in class com.apollographql.apollo.subscription.OperationServerMessage.Error
 

U

uniqueId - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
unsubscribe(ApolloStore.RecordChangeSubscriber) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
unsubscribe(Subscription<?, ?, ?>) - Method in class com.apollographql.apollo.internal.subscription.NoOpSubscriptionManager
 
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.
Unsupported(String) - Constructor for class com.apollographql.apollo.subscription.OperationServerMessage.Unsupported
 
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(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 - Variable in class com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorRequest
 
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
 
WebSocketSubscriptionTransport - Class in com.apollographql.apollo.subscription
SubscriptionTransport implementation based on WebSocket.
WebSocketSubscriptionTransport.Factory - Class in com.apollographql.apollo.subscription
 
write(Operation<D, T, V>, D) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
write(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
 
writeAndPublish(GraphqlFragment, CacheKey, Operation.Variables) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
writeBoolean(ResponseField, Boolean) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeCustom(ResponseField.CustomTypeField, Object) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeDouble(ResponseField, Double) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeFragment(ResponseFieldMarshaller) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeInt(ResponseField, Integer) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeList(ResponseField, List, ResponseWriter.ListWriter) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeLong(ResponseField, Long) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeObject(ResponseField, ResponseFieldMarshaller) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
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
 
writeString(ResponseField, String) - Method in class com.apollographql.apollo.internal.response.RealResponseWriter
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Init
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Start
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Stop
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage.Terminate
 
writeToJson(JsonWriter) - Method in class com.apollographql.apollo.subscription.OperationClientMessage
 
writeTransaction(Transaction<WriteableStore, R>) - Method in class com.apollographql.apollo.internal.RealApolloStore
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links