Class ResponseCache.Source

java.lang.Object
net.targetr.wtm3.cache.ResponseCache.Source
Enclosing class:
ResponseCache

public static class ResponseCache.Source extends Object
Represents a cache source with optional headers.
  • Constructor Details

    • Source

      public Source(ResourceCache cache)
      Constructs a new Source with the specified resource cache.
      Parameters:
      cache - the resource cache
    • Source

      public Source(ResourceCache cache, Headers headers)
      Constructs a new Source with the specified resource cache and headers.
      Parameters:
      cache - the resource cache
      headers - the headers to associate with this source