|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.shared.resource.ResourceHandlerSupport
public abstract class ResourceHandlerSupport
A utility class to isolate a ResourceHandler implementation from its underlying implementation
Constructor Summary | |
---|---|
ResourceHandlerSupport()
|
Method Summary | |
---|---|
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/*) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceHandlerSupport()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |