Class ResponseCache.Source

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

public static class ResponseCache.Source extends Object
Represents a named resource loader with optional response headers.
  • Constructor Details

    • Source

      public Source(String name, ResourceLoader loader)
      Constructs a new Source with the specified resource loader.
      Parameters:
      name - a name for the resource source
      loader - the resource loader
    • Source

      public Source(String name, ResourceLoader loader, Headers headers)
      Constructs a new Source with the specified resource loader and headers.
      Parameters:
      name - a name for the resource source
      loader - the resource loader
      headers - the headers to associate with this source