public class RuntimeResourceReader extends ResourceReader implements Serviceable
Modifier and Type | Class and Description |
---|---|
(package private) class |
RuntimeResourceReader.SourceResolverWrapper |
Modifier and Type | Field and Description |
---|---|
protected ServiceManager |
_manager
the avalon service manager
|
static String |
LAST_MODIFIED
last modified parameter name for resources parameters
|
bufferSize, byteRanges, configuredBufferSize, configuredByteRanges, configuredExpires, configuredQuickTest, expires, inputSource, quickTest, request, response
objectModel, out, parameters, resolver, source
Constructor and Description |
---|
RuntimeResourceReader() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
Serializable |
getKey() |
void |
service(ServiceManager manager) |
void |
setup(SourceResolver initialResolver,
Map cocoonObjectModel,
String src,
Parameters par) |
configure, getLastModified, getMimeType, getValidity, hasRanges, parameterize, processStream, recycle, setupHeaders
setOutputStream, shouldSetContentLength
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public static final String LAST_MODIFIED
protected ServiceManager _manager
public RuntimeResourceReader()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void setup(SourceResolver initialResolver, Map cocoonObjectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
setup
in class ResourceReader
ProcessingException
SAXException
IOException
public Serializable getKey()
getKey
in interface CacheableProcessingComponent
getKey
in class ResourceReader
public void generate() throws IOException, ProcessingException
generate
in interface Reader
generate
in class ResourceReader
IOException
ProcessingException