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 ContractResourceLoader[] |
getContractResourceLoaders()
Return an array of resource loaders used to find resources
associated with a contract.
|
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.
|
abstract long |
getStartupTime()
Return the time when the app started.
|
abstract ResourceLoader[] |
getViewResourceLoaders()
Return an array of resource loaders used to find resources
that can be located using ResourceHandler.createViewResource().
|
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 ContractResourceLoader[] getContractResourceLoaders()
public abstract ResourceLoader[] getViewResourceLoaders()
public abstract boolean isExtensionMapping()
public abstract String getMapping()
public abstract long getStartupTime()
public abstract long getMaxTimeExpires()
public String getResourceIdentifier()
Copyright © 2020 The Apache Software Foundation. All rights reserved.