|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.www.protocol.http.cache.CachedResourceFactory
public class CachedResourceFactory
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.
Constructor Summary | |
---|---|
CachedResourceFactory()
|
Method Summary | |
---|---|
static CachedResource |
createResource(CacheFilter filter,
Request request,
Reply reply)
Create a suitable instance of some subclass of CachedResource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedResourceFactory()
Method Detail |
---|
public static CachedResource createResource(CacheFilter filter, Request request, Reply reply) throws java.io.IOException
filter
- The cache filter that ones to create a new entry.request
- The original request we emitted.reply
- The reply we got from the origin server.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |