Package org.ametys.core.minimize.css
Class CSSSourceMapResourceHandler
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.resources.SimpleResourceHandler
org.ametys.core.minimize.AbstractSourceMapResourceHandler
org.ametys.core.minimize.css.CSSSourceMapResourceHandler
- All Implemented Interfaces:
ResourceHandler,LogEnabled,Serviceable
Resource handler for source map files
-
Field Summary
FieldsFields inherited from class org.ametys.core.minimize.AbstractSourceMapResourceHandler
_sourceMapCacheFields inherited from class org.ametys.core.resources.SimpleResourceHandler
_objectModel, _parameters, _readForDownload, _requestedLocation, _resolver, _source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, setupMethods inherited from class org.ametys.core.resources.SimpleResourceHandler
generate, getKey, getLastModified, getMimeType, getValidityMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.resources.ResourceHandler
acceptRanges, generate, getLength, shouldUseSourceContentLength
-
Field Details
-
_cssMinimizeManager
CSS minimize manager
-
-
Constructor Details
-
CSSSourceMapResourceHandler
public CSSSourceMapResourceHandler()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractSourceMapResourceHandler- Throws:
ServiceException
-
_getAlternateSource
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
-