|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.commons.resourcehandler.resource.ResourceHandlerSupport
org.apache.myfaces.commons.resourcehandler.resource.BaseResourceHandlerSupport
org.apache.myfaces.commons.resourcehandler.ExtendedDefaultResourceHandlerSupport
public class ExtendedDefaultResourceHandlerSupport
Field Summary | |
---|---|
protected static java.lang.String |
CACHED_SERVLET_MAPPING
|
static java.lang.String |
INIT_PARAM_CACHE_DISK_GZIP_RESOURCES
Deprecated. |
static java.lang.String |
INIT_PARAM_EXTENDED_RESOURCE_IDENTIFIER
Indicate the prefix that is added to each resource path that is used later to check if the request is a resource request. |
static java.lang.String |
INIT_PARAM_GZIP_RESOURCES_ENABLED
Deprecated. |
static java.lang.String |
INIT_PARAM_GZIP_RESOURCES_EXTENSIONS_DEFAULT
|
static java.lang.String |
INIT_PARAM_GZIP_RESOURCES_SUFFIX
Deprecated. |
Fields inherited from class org.apache.myfaces.commons.resourcehandler.resource.BaseResourceHandlerSupport |
---|
RESOURCE_MAX_TIME_EXPIRES |
Constructor Summary | |
---|---|
ExtendedDefaultResourceHandlerSupport()
|
Method Summary | |
---|---|
java.lang.String |
calculateResourceBasePath(javax.faces.context.FacesContext facesContext)
Calculate the resource base path. |
protected FacesServletMapping |
getFacesServletMapping(javax.faces.context.FacesContext context)
Read the web.xml file that is in the classpath and parse its internals to figure out how the FacesServlet is mapped for the current webapp. |
MyFacesResourcesConfig |
getMyFacesResourcesConfig()
|
java.lang.String |
getResourceIdentifier()
|
ResourceLoader[] |
getResourceLoaders()
Return the resource loaders used. |
WebConfigProvider |
getWebConfigProvider()
|
Methods inherited from class org.apache.myfaces.commons.resourcehandler.resource.BaseResourceHandlerSupport |
---|
calculateFacesServletMapping, getMapping, getMaxTimeExpires, getStartupTime, isExtensionMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CACHED_SERVLET_MAPPING
@JSFWebConfigParam(defaultValue="false") @Deprecated public static final java.lang.String INIT_PARAM_GZIP_RESOURCES_ENABLED
@JSFWebConfigParam(defaultValue=".css, .js") @Deprecated public static final java.lang.String INIT_PARAM_GZIP_RESOURCES_SUFFIX
public static final java.lang.String INIT_PARAM_GZIP_RESOURCES_EXTENSIONS_DEFAULT
@JSFWebConfigParam(defaultValue="true") @Deprecated public static final java.lang.String INIT_PARAM_CACHE_DISK_GZIP_RESOURCES
@JSFWebConfigParam(defaultValue="/javax.faces.resource") public static final java.lang.String INIT_PARAM_EXTENDED_RESOURCE_IDENTIFIER
Constructor Detail |
---|
public ExtendedDefaultResourceHandlerSupport()
Method Detail |
---|
public MyFacesResourcesConfig getMyFacesResourcesConfig()
public java.lang.String calculateResourceBasePath(javax.faces.context.FacesContext facesContext)
ResourceHandlerSupport
calculateResourceBasePath
in class BaseResourceHandlerSupport
protected FacesServletMapping getFacesServletMapping(javax.faces.context.FacesContext context)
BaseResourceHandlerSupport
getFacesServletMapping
in class BaseResourceHandlerSupport
public ResourceLoader[] getResourceLoaders()
getResourceLoaders
in class BaseResourceHandlerSupport
public WebConfigProvider getWebConfigProvider()
public java.lang.String getResourceIdentifier()
getResourceIdentifier
in class ResourceHandlerSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |