Class ApolloInterceptor.InterceptorResponse
- java.lang.Object
-
- com.apollographql.apollo.interceptor.ApolloInterceptor.InterceptorResponse
-
- Enclosing interface:
- ApolloInterceptor
public static final class ApolloInterceptor.InterceptorResponse extends java.lang.ObjectInterceptorResponse class represents the response returned by theApolloInterceptor.
-
-
Field Summary
Fields Modifier and Type Field Description com.apollographql.apollo.api.internal.Optional<java.util.Collection<com.apollographql.apollo.cache.normalized.Record>>cacheRecordscom.apollographql.apollo.api.internal.Optional<okhttp3.Response>httpResponsecom.apollographql.apollo.api.internal.Optional<com.apollographql.apollo.api.Response>parsedResponse
-
Constructor Summary
Constructors Constructor Description InterceptorResponse(okhttp3.Response httpResponse)InterceptorResponse(okhttp3.Response httpResponse, com.apollographql.apollo.api.Response parsedResponse, java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords)
-
-
-
Field Detail
-
httpResponse
public final com.apollographql.apollo.api.internal.Optional<okhttp3.Response> httpResponse
-
parsedResponse
public final com.apollographql.apollo.api.internal.Optional<com.apollographql.apollo.api.Response> parsedResponse
-
cacheRecords
public final com.apollographql.apollo.api.internal.Optional<java.util.Collection<com.apollographql.apollo.cache.normalized.Record>> cacheRecords
-
-
Constructor Detail
-
InterceptorResponse
public InterceptorResponse(okhttp3.Response httpResponse)
-
InterceptorResponse
public InterceptorResponse(okhttp3.Response httpResponse, com.apollographql.apollo.api.Response parsedResponse, java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords)
-
-