Package net.targetr.wtm3.cache
Class ResponseCache.Source
java.lang.Object
net.targetr.wtm3.cache.ResponseCache.Source
- Enclosing class:
ResponseCache
Represents a cache source with optional headers.
-
Constructor Summary
ConstructorsConstructorDescriptionSource(ResourceCache cache) Constructs a new Source with the specified resource cache.Source(ResourceCache cache, Headers headers) Constructs a new Source with the specified resource cache and headers. -
Method Summary
-
Constructor Details
-
Source
Constructs a new Source with the specified resource cache.- Parameters:
cache- the resource cache
-
Source
Constructs a new Source with the specified resource cache and headers.- Parameters:
cache- the resource cacheheaders- the headers to associate with this source
-