public abstract class ResourceHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOCALE_PREFIX |
static String |
RESOURCE_EXCLUDES_DEFAULT_VALUE |
static String |
RESOURCE_EXCLUDES_PARAM_NAME
Space separated file extensions that will not be served by the default ResourceHandler implementation.
|
static String |
RESOURCE_IDENTIFIER |
Constructor and Description |
---|
ResourceHandler() |
Modifier and Type | Method and Description |
---|---|
abstract Resource |
createResource(String resourceName) |
abstract Resource |
createResource(String resourceName,
String libraryName) |
abstract Resource |
createResource(String resourceName,
String libraryName,
String contentType) |
abstract String |
getRendererTypeForResourceName(String resourceName) |
abstract void |
handleResourceRequest(FacesContext context) |
abstract boolean |
isResourceRequest(FacesContext context) |
abstract boolean |
libraryExists(String libraryName) |
public static final String LOCALE_PREFIX
public static final String RESOURCE_EXCLUDES_DEFAULT_VALUE
@JSFWebConfigParam(defaultValue=".class .jsp .jspx .properties .xhtml .groovy", since="2.0", group="resources") public static final String RESOURCE_EXCLUDES_PARAM_NAME
public static final String RESOURCE_IDENTIFIER
public abstract Resource createResource(String resourceName, String libraryName, String contentType)
public abstract String getRendererTypeForResourceName(String resourceName)
public abstract void handleResourceRequest(FacesContext context) throws IOException
IOException
public abstract boolean isResourceRequest(FacesContext context)
public abstract boolean libraryExists(String libraryName)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.