public class BaseResourceHandlerSupport extends ResourceHandlerSupport
Constructor and Description |
---|
BaseResourceHandlerSupport() |
Modifier and Type | Method and Description |
---|---|
String |
calculateResourceBasePath(FacesContext facesContext)
Calculate the resource base path.
|
ContractResourceLoader[] |
getContractResourceLoaders()
Return an array of resource loaders used to find resources
associated with a contract.
|
long |
getMaxTimeExpires()
Return the time that should be set on "Expires" header in a resource.
|
ResourceLoader[] |
getResourceLoaders()
Return an array of resource loaders used to find resources.
|
long |
getStartupTime()
Return the time when the app started.
|
ResourceLoader[] |
getViewResourceLoaders()
Return an array of resource loaders used to find resources
that can be located using ResourceHandler.createViewResource().
|
getResourceIdentifier
public ResourceLoader[] getResourceLoaders()
ResourceHandlerSupport
getResourceLoaders
in class ResourceHandlerSupport
public ContractResourceLoader[] getContractResourceLoaders()
ResourceHandlerSupport
getContractResourceLoaders
in class ResourceHandlerSupport
public ResourceLoader[] getViewResourceLoaders()
ResourceHandlerSupport
getViewResourceLoaders
in class ResourceHandlerSupport
public String calculateResourceBasePath(FacesContext facesContext)
ResourceHandlerSupport
calculateResourceBasePath
in class ResourceHandlerSupport
public long getStartupTime()
ResourceHandlerSupport
getStartupTime
in class ResourceHandlerSupport
public long getMaxTimeExpires()
ResourceHandlerSupport
getMaxTimeExpires
in class ResourceHandlerSupport
Copyright © 2021 The Apache Software Foundation. All rights reserved.