Top Description Constructors Methods
com.sun.faces.context.flash

public Class FlashFactoryImpl

extends FlashFactory
Class Inheritance
Imports
jakarta.faces.context.ExternalContext, .FacesContext, .Flash, .FlashFactory

Default implementation of FlashFactory.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Flash
getFlash(boolean
true to create a new instance for this request if necessary; false to return null if there's no instance in the current session.
create
)

Implements abstract jakarta.faces.context.FlashFactory.getFlash.

Create (if needed) and return a Flash instance for this web application.

Inherited from jakarta.faces.context.FlashFactory:
getWrapped

Constructor Detail

FlashFactoryImplback to summary
public FlashFactoryImpl()

Method Detail

getFlashback to summary
public Flash getFlash(boolean create)

Implements abstract jakarta.faces.context.FlashFactory.getFlash.

Doc from jakarta.faces.context.FlashFactory.getFlash.

Create (if needed) and return a Flash instance for this web application.

Parameters
create:boolean

true to create a new instance for this request if necessary; false to return null if there's no instance in the current session.

Returns:Flash

the instance of Flash.

Annotations
@Override