public class ResourceCache extends Object
Constructor and Description |
---|
ResourceCache(HttpResources resourceManager,
int cacheSize,
boolean isFileSystemCaseSensitive,
boolean isHTMLCache)
Creates the resource cache with a maximum size for caching.
|
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the web server cache.
|
void |
displayWebServerCache(String type,
VirtualCListBox list)
Fills a list box with the cache information.
|
HttpResources |
getResourceManager()
Gets the resource manager.
|
HttpResource |
loadResource(HttpResourceParameters httpParams)
Loads a resource.
|
public ResourceCache(HttpResources resourceManager, int cacheSize, boolean isFileSystemCaseSensitive, boolean isHTMLCache)
public HttpResources getResourceManager()
public HttpResource loadResource(HttpResourceParameters httpParams) throws IOException
IOException
- for read resource failures.public void displayWebServerCache(String type, VirtualCListBox list)
public void clearCache()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.