Class FlashWrapper

java.lang.Object
jakarta.faces.context.Flash
jakarta.faces.context.FlashWrapper
All Implemented Interfaces:
FacesWrapper<Flash>, Map<String,​Object>

public abstract class FlashWrapper
extends Flash
implements FacesWrapper<Flash>

Provides a simple implementation of Flash that can be subclassed by developers wishing to provide specialized behavior to an existing Flash instance. The default implementation of all methods is to call through to the wrapped Flash.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.2