public abstract class AbstractGeneratedResourceHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected net.sf.ehcache.Cache |
generatedResourceCache |
| Constructor and Description |
|---|
AbstractGeneratedResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
canHandle(String path) |
abstract org.springframework.core.io.Resource |
getFileContents(String path,
List<org.springframework.core.io.Resource> locations) |
protected net.sf.ehcache.Cache |
getGeneratedResourceCache() |
org.springframework.core.io.Resource |
getResource(String path,
List<org.springframework.core.io.Resource> locations)
Attempts to retrive the requested resource from cache.
|
abstract boolean |
isCachedResourceExpired(GeneratedResource cachedResource,
String path,
List<org.springframework.core.io.Resource> locations) |
public abstract boolean canHandle(String path)
path - public abstract org.springframework.core.io.Resource getFileContents(String path, List<org.springframework.core.io.Resource> locations)
path - locations - public abstract boolean isCachedResourceExpired(GeneratedResource cachedResource, String path, List<org.springframework.core.io.Resource> locations)
cachedResource - path - locations - public org.springframework.core.io.Resource getResource(String path, List<org.springframework.core.io.Resource> locations)
request - location - protected net.sf.ehcache.Cache getGeneratedResourceCache()
Copyright © 2014. All rights reserved.