|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.httpio.FileResourceSource
rabbit.proxy.CacheResourceSource
public class CacheResourceSource
A resource that comes from the cache.
| Field Summary |
|---|
| Fields inherited from class rabbit.httpio.FileResourceSource |
|---|
bufHandle, fc |
| Constructor Summary | |
|---|---|
CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
Create a new CacheResourceSource. |
|
| Method Summary |
|---|
| Methods inherited from class rabbit.httpio.FileResourceSource |
|---|
addBlockListener, length, release, supportsTransfer, transferTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
throws java.io.IOException
cache - the Cache that has the cached resourceentry - the CacheEntry for the resourcetr - the NioHandler to use for network and background tasks
when serving this resourcebufHandler - the BufferHandler to use for this resource
java.io.IOException - if the cached resource is not available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||