Package org.ametys.core.minimize.js
Class JSSourceMapResourceHandler
- java.lang.Object
- 
- org.ametys.runtime.plugin.component.AbstractLogEnabled
- 
- org.ametys.core.resources.SimpleResourceHandler
- 
- org.ametys.core.minimize.AbstractSourceMapResourceHandler
- 
- org.ametys.core.minimize.js.JSSourceMapResourceHandler
 
 
 
 
- 
- All Implemented Interfaces:
- ResourceHandler,- LogEnabled,- Contextualizable,- Serviceable
 
 public class JSSourceMapResourceHandler extends AbstractSourceMapResourceHandler implements Contextualizable Resource handler for source map files
- 
- 
Field SummaryFields Modifier and Type Field Description protected MinimizeJSManager_jSMinimizeManagerJS minimize manager- 
Fields inherited from class org.ametys.core.minimize.AbstractSourceMapResourceHandler_sourceMapCache
 - 
Fields inherited from class org.ametys.core.resources.SimpleResourceHandler_objectModel, _parameters, _readForDownload, _requestedLocation, _resolver, _source
 
- 
 - 
Constructor SummaryConstructors Constructor Description JSSourceMapResourceHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Source_getAlternateSource(String location, Map objectModel)Find the source at an alternative locationvoidcontextualize(Context context)voidservice(ServiceManager manager)- 
Methods inherited from class org.ametys.core.minimize.AbstractSourceMapResourceHandler_getExistingSource, setup
 - 
Methods inherited from class org.ametys.core.resources.SimpleResourceHandlergenerate, getKey, getLastModified, getMimeType, getValidity
 - 
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.ametys.core.resources.ResourceHandleracceptRanges, generate, getLength, shouldUseSourceContentLength
 
- 
 
- 
- 
- 
Field Detail- 
_jSMinimizeManagerprotected MinimizeJSManager _jSMinimizeManager JS minimize manager
 
- 
 - 
Constructor Detail- 
JSSourceMapResourceHandlerpublic JSSourceMapResourceHandler() 
 
- 
 - 
Method Detail- 
contextualizepublic void contextualize(Context context) throws ContextException - Specified by:
- contextualizein interface- Contextualizable
- Throws:
- ContextException
 
 - 
servicepublic void service(ServiceManager manager) throws ServiceException - Specified by:
- servicein interface- Serviceable
- Overrides:
- servicein class- AbstractSourceMapResourceHandler
- Throws:
- ServiceException
 
 - 
_getAlternateSourceprotected Source _getAlternateSource(String location, Map objectModel) throws ProcessingException, IOException Description copied from class:AbstractSourceMapResourceHandlerFind the source at an alternative location- Specified by:
- _getAlternateSourcein class- AbstractSourceMapResourceHandler
- Parameters:
- location- The original location
- objectModel- The object model
- Returns:
- The source, or null if not found
- Throws:
- ProcessingException- If an error occurred
- IOException- If an error occurred
 
 
- 
 
-