public abstract class ResourceHandlerSupport extends Object
Constructor and Description |
---|
ResourceHandlerSupport() |
Modifier and Type | Method and Description |
---|---|
abstract String |
calculateResourceBasePath(FacesContext facesContext)
Calculate the resource base path.
|
abstract String |
getMapping()
Get the mapping used as prefix(/faces) or sufix(.jsf)
|
abstract long |
getMaxTimeExpires()
Return the time that should be set on "Expires" header in a resource.
|
String |
getResourceIdentifier() |
abstract ResourceLoader[] |
getResourceLoaders()
Return an array of resource loaders used to find resources
using the standard.
|
abstract long |
getStartupTime()
Return the time when the app started.
|
abstract boolean |
isExtensionMapping()
Check if the mapping used is done using extensions (.xhtml, .jsf)
or if it is not (/faces/*)
|
public abstract String calculateResourceBasePath(FacesContext facesContext)
public abstract ResourceLoader[] getResourceLoaders()
public abstract boolean isExtensionMapping()
public abstract String getMapping()
public abstract long getStartupTime()
public abstract long getMaxTimeExpires()
public String getResourceIdentifier()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.