| java.lang.Object org.w3c.www.protocol.http.cache.CachedResourceFactory
CachedResourceFactory | public class CachedResourceFactory (Code) | | The factory for cache entries.
All cache entries have to be sub-classes of CachedResource, that's the
only limitation to the fun you can have down here.
|
Method Summary | |
public static CachedResource | createResource(CacheFilter filter, Request request, Reply reply) Create a suitable instance of some subclass of CachedResource.
Parameters: filter - The cache filter that ones to create a new entry. Parameters: request - The original request we emitted. Parameters: reply - The reply we got from the origin server. |
createResource | public static CachedResource createResource(CacheFilter filter, Request request, Reply reply) throws IOException(Code) | | Create a suitable instance of some subclass of CachedResource.
Parameters: filter - The cache filter that ones to create a new entry. Parameters: request - The original request we emitted. Parameters: reply - The reply we got from the origin server. An instance of CachedResource, or nullif no resource was created. |
|
|