Class FlashFactoryImpl

java.lang.Object
jakarta.faces.context.FlashFactory
com.sun.faces.context.flash.FlashFactoryImpl
All Implemented Interfaces:
FacesWrapper<FlashFactory>

public class FlashFactoryImpl extends FlashFactory
Default implementation of FlashFactory.
  • Constructor Details

    • FlashFactoryImpl

      public FlashFactoryImpl()
  • Method Details

    • getFlash

      public Flash getFlash(boolean create)
      Description copied from class: FlashFactory

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

      Specified by:
      getFlash in class FlashFactory
      Parameters:
      create - 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:
      the instance of Flash.