Package org.ametys.core.minimize.css
Class CSSSourceMapResourceHandlerProvider
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.resources.AbstractResourceHandlerProvider
-
- org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
-
- org.ametys.core.minimize.css.CSSSourceMapResourceHandlerProvider
-
- All Implemented Interfaces:
ResourceHandlerProvider
,LogEnabled
,Prioritizable
,Configurable
,Contextualizable
,Serviceable
public class CSSSourceMapResourceHandlerProvider extends AbstractSimpleResourceHandlerProvider
ResourceHandlerProvider
for source map CSS files.
-
-
Field Summary
-
Fields inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
_supportedSuffixes
-
Fields inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
_context, _manager
-
Fields inherited from interface org.ametys.core.resources.ResourceHandlerProvider
MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description CSSSourceMapResourceHandlerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceHandler
createResourceHandler(String source)
Actually creates theResourceHandler
.int
getPriority()
Get the priority for the component.-
Methods inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
configure, getResourceHandler
-
Methods inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
contextualize, service, setup
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
CSSSourceMapResourceHandlerProvider
public CSSSourceMapResourceHandlerProvider()
-
-
Method Detail
-
getPriority
public int getPriority()
Description copied from interface:Prioritizable
Get the priority for the component. On components usingPrioritizable
interface, each implementation define the order. In most cases, less is the number, more prior is the component.- Returns:
- the priority
-
createResourceHandler
protected ResourceHandler createResourceHandler(String source)
Description copied from class:AbstractSimpleResourceHandlerProvider
Actually creates theResourceHandler
.- Specified by:
createResourceHandler
in classAbstractSimpleResourceHandlerProvider
- Parameters:
source
- the requested resource.- Returns:
- the created
ResourceHandler
.
-
-