Class JsfResourceRequestHandler
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.faces.webflow.JsfResourceRequestHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.HttpRequestHandler
public class JsfResourceRequestHandler
extends org.springframework.web.context.support.WebApplicationObjectSupport
implements org.springframework.web.HttpRequestHandler
Handles a request by delegating to the JSF ResourceHandler, which serves web
application and classpath resources such as images, CSS and JavaScript files
from well-known locations.
- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev
- See Also:
-
ResourceHandler
-
Field Summary
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Constructor Details
-
JsfResourceRequestHandler
public JsfResourceRequestHandler()
-
-
Method Details
-
handleRequest
public void handleRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Specified by:
handleRequest
in interfaceorg.springframework.web.HttpRequestHandler
- Throws:
IOException
-