org.apache.myfaces.webapp.filter
Class ServeResourcePhaseListener
java.lang.Object
org.apache.myfaces.webapp.filter.ServeResourcePhaseListener
- All Implemented Interfaces:
- Serializable, EventListener, javax.faces.event.PhaseListener
public class ServeResourcePhaseListener
- extends Object
- implements javax.faces.event.PhaseListener
This listener is used for serve resources, as a replacement of
ExtensionsFilter serve resources feature.
The idea is map FacesServlet to org.apache.myfaces.RESOURCE_VIRTUAL_PATH
(Default is "/faces/myFacesExtensionResource), so this
listener can receive the request.
- Version:
- $Revision: 685725 $ $Date: 2008-08-13 18:14:31 -0500 (Wed, 13 Aug 2008) $
- Author:
- Martin Marinschek (latest modification by $Author: lu4242 $)
- See Also:
- Serialized Form
Method Summary |
void |
afterPhase(javax.faces.event.PhaseEvent event)
|
void |
beforePhase(javax.faces.event.PhaseEvent event)
|
javax.faces.event.PhaseId |
getPhaseId()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOFILTER_CALLED
public static final String DOFILTER_CALLED
- See Also:
- Constant Field Values
ServeResourcePhaseListener
public ServeResourcePhaseListener()
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent event)
- Specified by:
afterPhase
in interface javax.faces.event.PhaseListener
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent event)
- Specified by:
beforePhase
in interface javax.faces.event.PhaseListener
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId
in interface javax.faces.event.PhaseListener
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.