org.riotfamily.riot.resource
Class ResourceController

java.lang.Object
  extended by org.riotfamily.cachius.spring.AbstractCacheableController
      extended by org.riotfamily.riot.resource.AbstractResourceController
          extended by org.riotfamily.riot.resource.ResourceController
All Implemented Interfaces:
CacheableController, Compressible, BeanNameAware, Controller, LastModified

public class ResourceController
extends AbstractResourceController

Controller that serves an internal resource.


Field Summary
 
Fields inherited from interface org.riotfamily.cachius.spring.CacheableController
CACHE_ETERNALLY
 
Constructor Summary
ResourceController()
           
 
Method Summary
protected  Reader getReader(Resource res, String path, String contentType, HttpServletRequest request)
           
 void setCompressors(Map<String,Compressor> compressors)
           
 
Methods inherited from class org.riotfamily.riot.resource.AbstractResourceController
contentTypeShouldBeZipped, getCacheKeyInternal, getContentType, getLastModified, getLastModified, getResourcePath, getTimeToLive, gzipResponse, handleRequest, lookupResource, serveBinary, serveResource, serveText, setCheckForModifications, setFileTypeMap, setFilters, setMappings, setPathAttribute, setPathParameter
 
Methods inherited from class org.riotfamily.cachius.spring.AbstractCacheableController
appendCacheKey, bypassCache, getBeanName, getCacheKey, setAddUriToCacheKey, setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceController

public ResourceController()
Method Detail

setCompressors

public void setCompressors(Map<String,Compressor> compressors)

getReader

protected Reader getReader(Resource res,
                           String path,
                           String contentType,
                           HttpServletRequest request)
                    throws IOException
Overrides:
getReader in class AbstractResourceController
Throws:
IOException