public class ResourceHandlerImpl
extends javax.faces.application.ResourceHandlerWrapper
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_START_TIME_ATTRIBUTE |
static String |
RESOURCE_CACHE_NAME |
static String |
RICHFACES_RESOURCE_IDENTIFIER |
Constructor and Description |
---|
ResourceHandlerImpl(javax.faces.application.ResourceHandler defaultHandler) |
Modifier and Type | Method and Description |
---|---|
javax.faces.application.Resource |
createResource(String resourceName) |
javax.faces.application.Resource |
createResource(String resourceName,
String libraryName) |
javax.faces.application.Resource |
createResource(String resourceName,
String libraryName,
String contentType) |
String |
getRendererTypeForResourceName(String resourceName) |
static String |
getResourcePathFromRequest(javax.faces.context.FacesContext context) |
javax.faces.application.ResourceHandler |
getWrapped() |
void |
handleResourceRequest(javax.faces.context.FacesContext context) |
boolean |
isResourceRequest(javax.faces.context.FacesContext context) |
protected boolean |
isThisHandlerResourceRequest(javax.faces.context.FacesContext context) |
boolean |
libraryExists(String libraryName) |
static void |
sendResourceNotFound(javax.faces.context.FacesContext context) |
public static final String RICHFACES_RESOURCE_IDENTIFIER
public static final String RESOURCE_CACHE_NAME
public static final String HANDLER_START_TIME_ATTRIBUTE
public ResourceHandlerImpl(javax.faces.application.ResourceHandler defaultHandler)
public static String getResourcePathFromRequest(javax.faces.context.FacesContext context)
protected boolean isThisHandlerResourceRequest(javax.faces.context.FacesContext context)
public boolean isResourceRequest(javax.faces.context.FacesContext context)
isResourceRequest
in class javax.faces.application.ResourceHandlerWrapper
public static void sendResourceNotFound(javax.faces.context.FacesContext context)
public void handleResourceRequest(javax.faces.context.FacesContext context) throws IOException
handleResourceRequest
in class javax.faces.application.ResourceHandlerWrapper
IOException
public javax.faces.application.Resource createResource(String resourceName, String libraryName, String contentType)
createResource
in class javax.faces.application.ResourceHandlerWrapper
public javax.faces.application.Resource createResource(String resourceName, String libraryName)
createResource
in class javax.faces.application.ResourceHandlerWrapper
public javax.faces.application.Resource createResource(String resourceName)
createResource
in class javax.faces.application.ResourceHandlerWrapper
public String getRendererTypeForResourceName(String resourceName)
getRendererTypeForResourceName
in class javax.faces.application.ResourceHandlerWrapper
public boolean libraryExists(String libraryName)
libraryExists
in class javax.faces.application.ResourceHandlerWrapper
public javax.faces.application.ResourceHandler getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<javax.faces.application.ResourceHandler>
getWrapped
in class javax.faces.application.ResourceHandlerWrapper
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.