public interface ApolloMutationCall<T> extends ApolloCall<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ApolloMutationCall.Builder<T> |
static interface |
ApolloMutationCall.Factory
Factory for creating
ApolloMutationCall calls. |
ApolloCall.Callback<T>, ApolloCall.StatusEvent| Modifier and Type | Method and Description |
|---|---|
ApolloMutationCall<T> |
cacheHeaders(com.apollographql.apollo.cache.CacheHeaders cacheHeaders)
Deprecated.
|
ApolloMutationCall<T> |
clone()
Deprecated.
|
ApolloMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.OperationName... operationNames)
Deprecated.
|
ApolloMutationCall<T> |
refetchQueries(com.apollographql.apollo.api.Query... queries)
Deprecated.
|
ApolloMutationCall<T> |
requestHeaders(RequestHeaders requestHeaders)
Deprecated.
|
ApolloMutationCall.Builder<T> |
toBuilder() |
cancel, enqueue, operationisCanceled@Deprecated @NotNull ApolloMutationCall<T> cacheHeaders(@NotNull com.apollographql.apollo.cache.CacheHeaders cacheHeaders)
CacheHeaders to use for this call. com.apollographql.apollo.interceptor.FetchOptions will
be configured with this headers, and will be accessible from the ResponseFetcher used for this call.
Deprecated, use toBuilder() to mutate the ApolloCallcacheHeaders in interface ApolloCall<T>cacheHeaders - the CacheHeaders that will be passed with records generated from this request to NormalizedCache. Standardized cache headers are
defined in ApolloCacheHeaders.CacheHeaders.@Deprecated @NotNull ApolloMutationCall<T> refetchQueries(@NotNull com.apollographql.apollo.api.OperationName... operationNames)
Sets a list of ApolloQueryWatcher query names to be re-fetched once this mutation completed.
operationNames - array of OperationName query names to be re-fetchedApolloMutationCall that will trigger re-fetching provided queries@Deprecated @NotNull ApolloMutationCall<T> refetchQueries(@NotNull com.apollographql.apollo.api.Query... queries)
Sets a list of Query to be re-fetched once this mutation completed.
queries - array of Query to be re-fetchedApolloMutationCall that will trigger re-fetching provided queries@Deprecated @NotNull ApolloMutationCall<T> requestHeaders(@NotNull RequestHeaders requestHeaders)
RequestHeaders to use for this call. These headers will be added to the HTTP request when
it is issued. These headers will be applied after any headers applied by application-level interceptors
and will override those if necessary.requestHeaders - The RequestHeaders to use for this request.RequestHeaders.@Deprecated @NotNull ApolloMutationCall<T> clone()
ApolloCallApolloCall.toBuilder() to mutate the ApolloCallclone in interface ApolloCall<T>@NotNull ApolloMutationCall.Builder<T> toBuilder()
toBuilder in interface ApolloCall<T>