Uses of Class
org.omnifaces.resourcehandler.DefaultResourceHandler
Packages that use DefaultResourceHandler
-
Uses of DefaultResourceHandler in org.omnifaces.resourcehandler
Subclasses of DefaultResourceHandler in org.omnifaces.resourcehandlerModifier and TypeClassDescriptionclassThisResourceHandlerimplementation allows the developer to provide external (CDN) URLs instead of the default local URLs for Faces resources.classThisResourceHandlerimplementation will remove all separate script and stylesheet resources which have thetargetattribute set to"head"from theUIViewRootand create a combined one for all scripts and another combined one for all stylesheets.classThisResourceHandlerimplementation deals withGraphicResourcerequests.classAppends OmniFaces version to resources with library nameomnifaces.classThisResourceHandlergenerates themanifest.jsonand also an offline-awaresw.jsbased on anyWebAppManifestfound in the runtime classpath.classThisResourceHandlerimplementation will set theSourceMapresponse header with the correctly mapped request path to any discovered source map of any CSS and JS resource.classThisResourceHandlerimplementation allows the developer to map Faces resources on an URL pattern of/jakarta.faces.resource/*(basically, the value ofResourceHandler.RESOURCE_IDENTIFIER) without the need for an additionalFacesServletprefix or suffix URL pattern in the default produced resource URLs, such as/jakarta.faces.resource/faces/css/style.cssor/jakarta.faces.resource/css/style.css.xhtml.classAutomatically adds version parameter with query string namevto all resource URLs so that the browser cache will be busted whenever the version parameter changes.classThisResourceHandlerbasically turns any concrete non-Facelets file into a Faces view, so that you can use EL expressions and even Faces components in them.