Class ApolloAutoPersistedOperationInterceptor.Factory

  • All Implemented Interfaces:
    com.apollographql.apollo.interceptor.ApolloInterceptorFactory
    Enclosing class:
    ApolloAutoPersistedOperationInterceptor

    public static class ApolloAutoPersistedOperationInterceptor.Factory
    extends java.lang.Object
    implements com.apollographql.apollo.interceptor.ApolloInterceptorFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
      Factory​(boolean useHttpGet, boolean persistQueries, boolean persistMutations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApolloInterceptor newInterceptor​(com.apollographql.apollo.api.internal.ApolloLogger logger, com.apollographql.apollo.api.Operation<?,​?,​?> operation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Factory

        public Factory​(boolean useHttpGet,
                       boolean persistQueries,
                       boolean persistMutations)
      • Factory

        public Factory()
    • Method Detail

      • newInterceptor

        @Nullable
        public ApolloInterceptor newInterceptor​(@NotNull
                                                com.apollographql.apollo.api.internal.ApolloLogger logger,
                                                @NotNull
                                                com.apollographql.apollo.api.Operation<?,​?,​?> operation)
        Specified by:
        newInterceptor in interface com.apollographql.apollo.interceptor.ApolloInterceptorFactory