Class NetworkFirstFetcher

  • All Implemented Interfaces:
    ResponseFetcher

    public final class NetworkFirstFetcher
    extends java.lang.Object
    implements ResponseFetcher
    Signals the apollo client to first fetch the data from the network. If network request fails, then the data is fetched from the normalized cache. If the data is not present in the normalized cache, then the exception which led to the network request failure is rethrown.
    • Constructor Detail

      • NetworkFirstFetcher

        public NetworkFirstFetcher()