Package | Description |
---|---|
org.omnifaces.resourcehandler |
Modifier and Type | Class and Description |
---|---|
class |
CDNResourceHandler
This
ResourceHandler implementation allows the developer to provide external (CDN) URLs instead of the
default local URLs for JSF resources. |
class |
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. |
class |
GraphicResourceHandler
This
ResourceHandler implementation deals with GraphicResource requests. |
class |
OmniVersionResourceHandler
Appends OmniFaces version to resources with library name
omnifaces . |
class |
PWAResourceHandler
This
ResourceHandler generates the manifest.json and also an offline-aware sw.js
based on any WebAppManifest found in the runtime classpath. |
class |
SourceMapResourceHandler
This
ResourceHandler implementation will set the SourceMap response header with the correctly
mapped request path to any discovered source map of any CSS and JS resource. |
class |
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 . |
class |
VersionedResourceHandler
Automatically adds version parameter with query string name
v to all resource URLs so, in production mode
they will be cached forever (or as configured in web.xml),
but will not be stale when a new version of the app is deployed. |
class |
ViewResourceHandler
This
ResourceHandler basically turns any concrete non-Facelets file into a JSF view, so that you can use EL expressions and even JSF components in them. |
Copyright © 2012–2021 OmniFaces. All rights reserved.