public static interface ApolloCall.Builder<T>
| Modifier and Type | Method and Description |
|---|---|
ApolloCall<T> |
build() |
ApolloCall.Builder<T> |
cacheHeaders(com.apollographql.apollo.cache.CacheHeaders cacheHeaders)
Sets the
CacheHeaders to use for this call. |
@NotNull ApolloCall<T> build()
@NotNull ApolloCall.Builder<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.cacheHeaders - the CacheHeaders that will be passed with records generated from this request to NormalizedCache. Standardized cache headers are
defined in ApolloCacheHeaders.