Spring Web Flow

org.springframework.faces.webflow.context.portlet
Class JsfResourceRequestHandler

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.portlet.context.PortletApplicationObjectSupport
          extended by org.springframework.web.portlet.handler.PortletContentGenerator
              extended by org.springframework.faces.webflow.context.portlet.JsfResourceRequestHandler
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.HandlerAdapter, org.springframework.web.portlet.HandlerMapping

public class JsfResourceRequestHandler
extends org.springframework.web.portlet.handler.PortletContentGenerator
implements org.springframework.web.portlet.HandlerAdapter, org.springframework.web.portlet.HandlerMapping, org.springframework.core.Ordered

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.4.0
Author:
Phillip Webb
See Also:
ResourceHandler

Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
JsfResourceRequestHandler()
           
 
Method Summary
 org.springframework.web.portlet.HandlerExecutionChain getHandler(javax.portlet.PortletRequest request)
           
 int getOrder()
           
 void handleAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.Object handler)
           
 void handleEvent(javax.portlet.EventRequest request, javax.portlet.EventResponse response, java.lang.Object handler)
           
 org.springframework.web.portlet.ModelAndView handleRender(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, java.lang.Object handler)
           
 org.springframework.web.portlet.ModelAndView handleResource(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response, java.lang.Object handler)
           
 void setOrder(int order)
           
 boolean supports(java.lang.Object handler)
           
 
Methods inherited from class org.springframework.web.portlet.handler.PortletContentGenerator
applyCacheSeconds, cacheForSeconds, check, checkAndPrepare, checkAndPrepare, getCacheSeconds, isRequireSession, preventCaching, setCacheSeconds, setRequireSession
 
Methods inherited from class org.springframework.web.portlet.context.PortletApplicationObjectSupport
getPortletContext, getTempDir, isContextRequired, setPortletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfResourceRequestHandler

public JsfResourceRequestHandler()
Method Detail

getHandler

public org.springframework.web.portlet.HandlerExecutionChain getHandler(javax.portlet.PortletRequest request)
                                                                 throws java.lang.Exception
Specified by:
getHandler in interface org.springframework.web.portlet.HandlerMapping
Throws:
java.lang.Exception

supports

public boolean supports(java.lang.Object handler)
Specified by:
supports in interface org.springframework.web.portlet.HandlerAdapter

handleResource

public org.springframework.web.portlet.ModelAndView handleResource(javax.portlet.ResourceRequest request,
                                                                   javax.portlet.ResourceResponse response,
                                                                   java.lang.Object handler)
                                                            throws java.io.IOException
Specified by:
handleResource in interface org.springframework.web.portlet.HandlerAdapter
Throws:
java.io.IOException

handleAction

public void handleAction(javax.portlet.ActionRequest request,
                         javax.portlet.ActionResponse response,
                         java.lang.Object handler)
                  throws java.lang.Exception
Specified by:
handleAction in interface org.springframework.web.portlet.HandlerAdapter
Throws:
java.lang.Exception

handleRender

public org.springframework.web.portlet.ModelAndView handleRender(javax.portlet.RenderRequest request,
                                                                 javax.portlet.RenderResponse response,
                                                                 java.lang.Object handler)
                                                          throws java.lang.Exception
Specified by:
handleRender in interface org.springframework.web.portlet.HandlerAdapter
Throws:
java.lang.Exception

handleEvent

public void handleEvent(javax.portlet.EventRequest request,
                        javax.portlet.EventResponse response,
                        java.lang.Object handler)
                 throws java.lang.Exception
Specified by:
handleEvent in interface org.springframework.web.portlet.HandlerAdapter
Throws:
java.lang.Exception

getOrder

public int getOrder()
Specified by:
getOrder in interface org.springframework.core.Ordered

setOrder

public void setOrder(int order)

Spring Web Flow