Uses of Interface
org.spincast.core.flash.FlashMessage
Package
Description
-
Uses of FlashMessage in org.spincast.core.exceptions
ModifierConstructorDescriptionprotected
RedirectException
(String newUrl, boolean redirectPermanently, FlashMessage flashMessage, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) RedirectException
(String newUrl, FlashMessage flashMessage) Redirect with a Flash message.RedirectException
(FlashMessage flashMessage) Redirects to the current URL with a Flash message. -
Uses of FlashMessage in org.spincast.core.exchange
Modifier and TypeMethodDescriptionRequestRequestContextAddon.getFlashMessage()
Gets the Flash message, if any.Modifier and TypeMethodDescriptionvoid
ResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessage flashMessage) Sets a redirection header, with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessage flashMessage) Sets the redirection headers with a specified3xx
status code, and a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, FlashMessage flashMessage) Sets a temporarily redirection header (302), with a Flash message to display.void
ResponseRequestContextAddon.redirect
(FlashMessage flashMessage) Sets a temporarily redirection header (302) to the current page, with a Flash message to display. -
Uses of FlashMessage in org.spincast.core.filters
Modifier and TypeMethodDescriptionprotected FlashMessage
SpincastFiltersDefault.LazyLoadedFlashMessageAlert.getFlashMessage()
-
Uses of FlashMessage in org.spincast.core.flash
Modifier and TypeMethodDescriptionFlashMessageFactory.create
(FlashMessageLevel messageType, String text) FlashMessageFactory.create
(FlashMessageLevel messageType, String text, JsonObject variables) FlashMessagesHolder.getFlashMessage
(String id, boolean removeIt) Gets a Flash Message from its id.FlashMessagesHolderDefault.getFlashMessage
(String uuid, boolean removeIt) Modifier and TypeMethodDescriptionprotected com.google.common.cache.Cache<String,
FlashMessage> FlashMessagesHolderDefault.getCache()
Modifier and TypeMethodDescriptionFlashMessagesHolder.saveFlashMessage
(FlashMessage flashMessage) Saves a Flash Message.FlashMessagesHolderDefault.saveFlashMessage
(FlashMessage flashMessage) -
Uses of FlashMessage in org.spincast.core.guice
Modifier and TypeMethodDescriptionprotected Class<? extends FlashMessage>
SpincastCorePluginModule.getFlashMessageImplClass()
-
Uses of FlashMessage in org.spincast.plugins.request
Modifier and TypeMethodDescriptionSpincastRequestRequestContextAddon.getFlashMessage()
protected FlashMessage
SpincastRequestRequestContextAddon.getFlashMessage
(boolean removeIt) -
Uses of FlashMessage in org.spincast.plugins.response
Modifier and TypeMethodDescriptionvoid
SpincastResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessage flashMessage) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessage flashMessage) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, FlashMessage flashMessage) void
SpincastResponseRequestContextAddon.redirect
(FlashMessage flashMessage) protected String
SpincastResponseRequestContextAddon.saveFlashMessage
(String url, FlashMessage flashMessage) Saves a Flash message.