Package org.omnifaces.facesviews
Class FacesViewsResourceHandler
- java.lang.Object
-
- jakarta.faces.application.ResourceHandler
-
- jakarta.faces.application.ResourceHandlerWrapper
-
- org.omnifaces.facesviews.FacesViewsResourceHandler
-
- All Implemented Interfaces:
FacesWrapper<ResourceHandler>
public class FacesViewsResourceHandler extends ResourceHandlerWrapper
Facelets resource handler that resolves mapped resources (views) to the folders from which those views were scanned (like the the special auto-scanned faces-views folder).For a guide on FacesViews, please see the package summary.
- Author:
- Arjan Tijms
- See Also:
FacesViews
-
-
Field Summary
-
Fields inherited from class jakarta.faces.application.ResourceHandler
JSF_SCRIPT_LIBRARY_NAME, JSF_SCRIPT_RESOURCE_NAME, LOCALE_PREFIX, RESOURCE_CONTRACT_XML, RESOURCE_EXCLUDES_DEFAULT_VALUE, RESOURCE_EXCLUDES_PARAM_NAME, RESOURCE_IDENTIFIER, WEBAPP_CONTRACTS_DIRECTORY_PARAM_NAME, WEBAPP_RESOURCES_DIRECTORY_PARAM_NAME
-
-
Constructor Summary
Constructors Constructor Description FacesViewsResourceHandler(ResourceHandler wrapped)
Construct faces views resource handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewResource
createViewResource(FacesContext context, String path)
-
Methods inherited from class jakarta.faces.application.ResourceHandlerWrapper
createResource, createResource, createResource, createResourceFromId, getRendererTypeForResourceName, getViewResources, getViewResources, getWrapped, handleResourceRequest, isResourceRendered, isResourceRequest, isResourceURL, libraryExists, markResourceRendered
-
-
-
-
Constructor Detail
-
FacesViewsResourceHandler
public FacesViewsResourceHandler(ResourceHandler wrapped)
Construct faces views resource handler.- Parameters:
wrapped
- The resource handler to be wrapped.
-
-
Method Detail
-
createViewResource
public ViewResource createViewResource(FacesContext context, String path)
- Overrides:
createViewResource
in classResourceHandlerWrapper
-
-