Class FlowResourceHandler

java.lang.Object
jakarta.faces.application.ResourceHandler
jakarta.faces.application.ResourceHandlerWrapper
org.springframework.faces.webflow.FlowResourceHandler
All Implemented Interfaces:
jakarta.faces.FacesWrapper<jakarta.faces.application.ResourceHandler>

public class FlowResourceHandler extends jakarta.faces.application.ResourceHandlerWrapper
Resolves Facelets resources using Spring Resource paths such as "classpath:foo.xhtml".

This handler is auto-configured in the faces-config.xml bundled with the "spring-faces" module.

Since:
2.5
  • Field Summary

    Fields inherited from class jakarta.faces.application.ResourceHandler

    FACES_SCRIPT_LIBRARY_NAME, FACES_SCRIPT_RESOURCE_NAME, 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
    FlowResourceHandler(jakarta.faces.application.ResourceHandler delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.faces.application.ViewResource
    createViewResource(jakarta.faces.context.FacesContext facesContext, String resourceName)
     
    jakarta.faces.application.ResourceHandler
     

    Methods inherited from class jakarta.faces.application.ResourceHandlerWrapper

    createResource, createResource, createResource, createResourceFromId, getRendererTypeForResourceName, getViewResources, getViewResources, handleResourceRequest, isResourceRendered, isResourceRequest, isResourceURL, libraryExists, markResourceRendered

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FlowResourceHandler

      public FlowResourceHandler(jakarta.faces.application.ResourceHandler delegate)
  • Method Details

    • getWrapped

      public jakarta.faces.application.ResourceHandler getWrapped()
      Specified by:
      getWrapped in interface jakarta.faces.FacesWrapper<jakarta.faces.application.ResourceHandler>
      Overrides:
      getWrapped in class jakarta.faces.application.ResourceHandlerWrapper
    • createViewResource

      public jakarta.faces.application.ViewResource createViewResource(jakarta.faces.context.FacesContext facesContext, String resourceName)
      Overrides:
      createViewResource in class jakarta.faces.application.ResourceHandlerWrapper