public abstract class AbstractGeneratedResourceHandler
extends java.lang.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(java.lang.String path) |
abstract org.springframework.core.io.Resource |
getFileContents(java.lang.String path,
java.util.List<org.springframework.core.io.Resource> locations) |
protected net.sf.ehcache.Cache |
getGeneratedResourceCache() |
org.springframework.core.io.Resource |
getResource(java.lang.String path,
java.util.List<org.springframework.core.io.Resource> locations)
Attempts to retrive the requested resource from cache.
|
abstract boolean |
isCachedResourceExpired(GeneratedResource cachedResource,
java.lang.String path,
java.util.List<org.springframework.core.io.Resource> locations) |
public abstract boolean canHandle(java.lang.String path)
path - public abstract org.springframework.core.io.Resource getFileContents(java.lang.String path,
java.util.List<org.springframework.core.io.Resource> locations)
path - locations - public abstract boolean isCachedResourceExpired(GeneratedResource cachedResource, java.lang.String path, java.util.List<org.springframework.core.io.Resource> locations)
cachedResource - path - locations - public org.springframework.core.io.Resource getResource(java.lang.String path,
java.util.List<org.springframework.core.io.Resource> locations)
request - location - protected net.sf.ehcache.Cache getGeneratedResourceCache()
Copyright © 2018. All Rights Reserved.