public class ResourceReader extends ServiceableReader implements CacheableProcessingComponent
Modifier and Type | Field and Description |
---|---|
private Map<String,Object> |
_additionalParameters |
private SourceResolver |
_resolver |
private ResourceHandler |
_resourceHandler |
private ResourceHandlerExtensionPoint |
_resourcesHandlerEP |
private Source |
_source |
static String |
LAST_MODIFIED
last modified parameter name for resources parameters
|
manager
objectModel, out, parameters, resolver, source
Constructor and Description |
---|
ResourceReader() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
Serializable |
getKey() |
long |
getLastModified() |
String |
getMimeType() |
SourceValidity |
getValidity() |
void |
recycle() |
void |
service(ServiceManager sManager) |
void |
setup(SourceResolver res,
Map objModel,
String src,
Parameters par) |
setOutputStream, shouldSetContentLength
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public static final String LAST_MODIFIED
private ResourceHandlerExtensionPoint _resourcesHandlerEP
private ResourceHandler _resourceHandler
private SourceResolver _resolver
private Map<String,Object> _additionalParameters
public ResourceReader()
public void service(ServiceManager sManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableReader
ServiceException
public void setup(SourceResolver res, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
setup
in class AbstractReader
ProcessingException
SAXException
IOException
public void generate() throws IOException, ProcessingException
generate
in interface Reader
IOException
ProcessingException
public Serializable getKey()
getKey
in interface CacheableProcessingComponent
public SourceValidity getValidity()
getValidity
in interface CacheableProcessingComponent
public void recycle()
recycle
in interface Recyclable
recycle
in class AbstractReader
public String getMimeType()
getMimeType
in interface SitemapOutputComponent
getMimeType
in class AbstractReader
public long getLastModified()
getLastModified
in interface Reader
getLastModified
in class AbstractReader