Uses of Enum Class
org.spincast.core.flash.FlashMessageLevel
Package
Description
-
Uses of FlashMessageLevel in org.spincast.core.exceptions
ModifierConstructorDescriptionRedirectException
(String newUrl, boolean redirectPermanently, FlashMessageLevel flashMessageType, String flashMessageTex) Redirect with a Flash message.RedirectException
(String newUrl, boolean redirectPermanently, FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirect with a Flash message.protected
RedirectException
(String newUrl, boolean redirectPermanently, FlashMessage flashMessage, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) RedirectException
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageTex) Redirect with a Flash message.RedirectException
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirect with a Flash message.RedirectException
(FlashMessageLevel flashMessageType, String flashMessageTex) Redirects to the current URL with a Flash message.RedirectException
(FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirects to the current URL with a Flash message. -
Uses of FlashMessageLevel in org.spincast.core.exchange
Modifier and TypeMethodDescriptionvoid
ResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText) Sets a redirection header, with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a redirection header, with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText) Sets the redirection headers with a specified3xx
status code, and a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets the redirection headers with a specified3xx
status code, and a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText) Sets a temporarily redirection header (302), with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302), with a Flash message to display.void
ResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText) Sets a temporarily redirection header (302) to the current page, with a Flash message to display.void
ResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302) to the current page, with a Flash message to display. -
Uses of FlashMessageLevel in org.spincast.core.flash
Modifier and TypeMethodDescriptionFlashMessage.getFlashType()
The type of the Flash message.FlashMessageDefault.getFlashType()
static FlashMessageLevel
Returns the enum constant of this class with the specified name.static FlashMessageLevel[]
FlashMessageLevel.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionFlashMessageFactory.create
(FlashMessageLevel messageType, String text) FlashMessageFactory.create
(FlashMessageLevel messageType, String text, JsonObject variables) ModifierConstructorDescriptionFlashMessageDefault
(FlashMessageLevel messageType, String text, JsonManager jsonManager) FlashMessageDefault
(FlashMessageLevel messageType, String text, JsonObject variables, JsonManager jsonManager) -
Uses of FlashMessageLevel in org.spincast.plugins.response
Modifier and TypeMethodDescriptionvoid
SpincastResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText) void
SpincastResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables)