Module io.jooby
Package io.jooby

Interface FlashMap

All Superinterfaces:
Map<String,String>

public interface FlashMap extends Map<String,String>
Flash map.
Since:
2.0.0
Author:
edgar
  • Field Details

  • Method Details

    • create

      @NonNull static FlashMap create(@NonNull Context ctx, @NonNull Cookie template)
      Creates a new flash-scope using the given cookie.
      Parameters:
      ctx - Web context.
      template - Cookie template.
      Returns:
      A new flash map.
    • keep

      @NonNull FlashMap keep()
      Keep flash cookie for next request.
      Returns:
      This flash map.