org.w3c.www.protocol.http.cache.push |
|
Java Source File Name | Type | Comment |
Client.java | Class | |
PushCacheFilter.java | Class | PushCacheFilter
Based heavily on (much code stolen from) CacheFilter
The important differences are in the initialization where the
PushCacheListener is started, and in ingoingFilter where if
the requested resource is present in the cache and is a PUSH
resource, then the resource is returned immediately without
checking for expiry etc. |
PushCacheHandler.java | Class | |
PushCacheListener.java | Class | PushCacheListener
Accepts incoming connections on specified port number and creates
PushCacheHandler objects to handle dialogue with client. |
PushCacheManager.java | Class | Singleton class to manage push cache. |
PushCacheProtocol.java | Class | PushCacheProtocol
Characteristics of the protocol used to control the push cache, and
methods for common operations
Protocol Description
To request that "/home/abc/page.html" is inserted in cache as
"http://www.abc.com/page.html" the client sends a packet with
command="ADD", and remain_len set to sizeof(add_packet_t) plus
the sum of the lengths of the path and the urls including their
null terminators. |
PushCacheStore.java | Class | Trival subclass of CacheStore which simply provides access to
getNewEntryFile for members of this package. |
PushEntityCachedResource.java | Class | PushEntityCachedResource
EntityCachedResource that reads data from the file rather than attempting
to use ActiveStream to tee output to a client that is not there. |
PushReply.java | Class | |
SimplePushCacheValidator.java | Class | |