Package org.ametys.core.minimize.css
Class CSSSourceMapResourceHandler
- java.lang.Object
 - 
- org.ametys.runtime.plugin.component.AbstractLogEnabled
 - 
- org.ametys.core.resources.DefaultResourceHandler
 - 
- org.ametys.core.minimize.AbstractSourceMapResourceHandler
 - 
- org.ametys.core.minimize.css.CSSSourceMapResourceHandler
 
 
 
 
 
- 
- All Implemented Interfaces:
 ResourceHandler,LogEnabled,Serviceable
public class CSSSourceMapResourceHandler extends AbstractSourceMapResourceHandler
Resource handler for source map files 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected MinimizeCSSManager_cssMinimizeManagerCSS minimize managerprivate JSASSResourceURIExtensionPoint_jsassResourceURIExtensionPoint- 
Fields inherited from class org.ametys.core.minimize.AbstractSourceMapResourceHandler
_sourceMapCache 
- 
Fields inherited from class org.ametys.core.resources.DefaultResourceHandler
_objectModel, _parameters, _readForDownload, _requestedLocation, _resolver, _source 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CSSSourceMapResourceHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Source_generateCssSourceMap(Map objectModel, String location)protected Source_getAlternateSource(String location, Map objectModel)Find the source at an alternative locationvoidservice(ServiceManager manager)- 
Methods inherited from class org.ametys.core.minimize.AbstractSourceMapResourceHandler
_getExistingSource, setup 
- 
Methods inherited from class org.ametys.core.resources.DefaultResourceHandler
generate, getKey, getLastModified, getLength, getMimeType, getValidity 
- 
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.ametys.core.resources.ResourceHandler
shouldUseSourceContentLength 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_cssMinimizeManager
protected MinimizeCSSManager _cssMinimizeManager
CSS minimize manager 
- 
_jsassResourceURIExtensionPoint
private JSASSResourceURIExtensionPoint _jsassResourceURIExtensionPoint
 
 - 
 
- 
Constructor Detail
- 
CSSSourceMapResourceHandler
public CSSSourceMapResourceHandler()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classAbstractSourceMapResourceHandler- Throws:
 ServiceException
 
- 
_getAlternateSource
protected Source _getAlternateSource(String location, Map objectModel) throws IOException
Description copied from class:AbstractSourceMapResourceHandlerFind the source at an alternative location- Specified by:
 _getAlternateSourcein classAbstractSourceMapResourceHandler- Parameters:
 location- The original locationobjectModel- The object model- Returns:
 - The source, or null if not found
 - Throws:
 IOException- If an error occurred
 
- 
_generateCssSourceMap
private Source _generateCssSourceMap(Map objectModel, String location) throws IOException
- Throws:
 IOException
 
 - 
 
 -