Class | Description |
---|---|
CDNResource |
This
Resource implementation can be used as a marker class to signal the custom ResourceHandler
such as CombinedResourceHandler that the given resource actually returns a CDN URL, and offers a method to
return the local URL which can be used as fallback in case the CDN request errors out. |
CDNResourceHandler |
This
ResourceHandler implementation allows the developer to provide external (CDN) URLs instead of the
default local URLs for JSF resources. |
CombinedResource |
This
Resource implementation holds all the necessary information about combined resources in order to
properly serve combined resources on a single HTTP request. |
CombinedResourceHandler |
This
ResourceHandler implementation will remove all separate script and stylesheet resources which have the
target attribute set to "head" from the UIViewRoot and create a combined one
for all scripts and another combined one for all stylesheets. |
CombinedResourceInfo |
This class is a wrapper which collects all combined resources and stores it in the cache.
|
CombinedResourceInfo.Builder |
Use this builder to create an instance of combined resource info and put it in the cache if absent.
|
CombinedResourceInputStream |
This
InputStream implementation takes care that all in the constructor given resources are been read in
sequence. |
DefaultResourceHandler |
A default
ResourceHandler implementation which hooks on all three DefaultResourceHandler.createResource(String) ,
DefaultResourceHandler.createResource(String, String) and DefaultResourceHandler.createResource(String, String, String) methods. |
DynamicResource |
This
Resource implementation represents a cacheable dynamic resource which doesn't necessarily exist as a
regular classpath resource. |
GraphicResource |
This
Resource implementation is used by the GraphicImage component. |
GraphicResourceHandler |
This
ResourceHandler implementation deals with GraphicResource requests. |
OmniVersionResourceHandler |
Appends OmniFaces version to resources with library name
omnifaces . |
RemappedResource |
This
Resource implementation remaps the given resource to the given request path. |
ResourceIdentifier |
Convenience class to represent a resource identifier.
|
UnmappedResourceHandler |
This
ResourceHandler implementation allows the developer to map JSF resources on an URL pattern of
/javax.faces.resource/* (basically, the value of ResourceHandler.RESOURCE_IDENTIFIER ) without
the need for an additional FacesServlet prefix or suffix URL pattern in the default produced resource URLs,
such as /javax.faces.resource/faces/css/style.css or
/javax.faces.resource/css/style.css.xhtml . |
Copyright © 2012–2018 OmniFaces. All rights reserved.