com.liferay.faces.bridge.context.flash
Class BridgeFlashWrapper
java.lang.Object
javax.faces.context.Flash
com.liferay.faces.bridge.context.flash.BridgeFlash
com.liferay.faces.bridge.context.flash.BridgeFlashWrapper
- All Implemented Interfaces:
- Map<String,Object>
- Direct Known Subclasses:
- BridgeFlashMojarraImpl, BridgeFlashMyFacesImpl
public abstract class BridgeFlashWrapper
- extends BridgeFlash
This class decorates/wraps the Flash implementation provided by the JSF runtime. Specifically, this wrapper
was created to workaround some Servlet-API dependencies in some of the methods in the com.sun.faces.context.flash.ELFlash implementation provided by Mojarra. See the ExternalContextImpl.getResponse() method for usage of the Mojarra workaround.
- Author:
- Neil Griffin
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeFlashWrapper
public BridgeFlashWrapper()
clear
public void clear()
containsKey
public boolean containsKey(Object key)
containsValue
public boolean containsValue(Object value)
doPostPhaseActions
public void doPostPhaseActions(javax.faces.context.FacesContext facesContext)
- Specified by:
doPostPhaseActions in class javax.faces.context.Flash
doPrePhaseActions
public void doPrePhaseActions(javax.faces.context.FacesContext facesContext)
- Specified by:
doPrePhaseActions in class javax.faces.context.Flash
entrySet
public Set<Map.Entry<String,Object>> entrySet()
get
public Object get(Object key)
keep
public void keep(String key)
- Specified by:
keep in class javax.faces.context.Flash
keySet
public Set<String> keySet()
put
public Object put(String key,
Object value)
putAll
public void putAll(Map<? extends String,? extends Object> values)
putNow
public void putNow(String key,
Object value)
- Specified by:
putNow in class javax.faces.context.Flash
remove
public Object remove(Object key)
size
public int size()
values
public Collection<Object> values()
isServletResponseRequired
public abstract boolean isServletResponseRequired()
- Specified by:
isServletResponseRequired in class BridgeFlash
setKeepMessages
public void setKeepMessages(boolean newValue)
- Specified by:
setKeepMessages in class javax.faces.context.Flash
setRedirect
public void setRedirect(boolean newValue)
- Specified by:
setRedirect in class javax.faces.context.Flash
isKeepMessages
public boolean isKeepMessages()
- Specified by:
isKeepMessages in class javax.faces.context.Flash
isRedirect
public boolean isRedirect()
- Specified by:
isRedirect in class javax.faces.context.Flash
getWrapped
public abstract javax.faces.context.Flash getWrapped()
isEmpty
public boolean isEmpty()
Copyright © 2014 Liferay, Inc.. All Rights Reserved.