Package | Description |
---|---|
sirius.web.cache | |
sirius.web.controller |
Provides the controller part of a simple MVC framework.
|
sirius.web.health |
System health monitoring
Provides tools to collect metrics and to monitor a cluster of machines.
|
sirius.web.security |
Modifier and Type | Method and Description |
---|---|
List<Message> |
LocalUserMessageCache.getAndRemove(String key) |
List<Message> |
UserMessageCache.getAndRemove(String key)
Gets the value identified by the given key and removes it from the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalUserMessageCache.put(String key,
List<Message> value) |
void |
UserMessageCache.put(String key,
List<Message> messages)
Puts a value inside the cache identified by the key.
|
Modifier and Type | Method and Description |
---|---|
static Message |
Message.error(String message)
Factory method to create an error message
|
static Message |
Message.error(Throwable t)
Factory method to create an error message
|
static Message |
Message.info(String message)
Factory method to create a info message
|
static Message |
Message.success(String message)
Factory method to create a success message
|
static Message |
Message.warn(String message)
Factory method to create a warning as message
|
Message |
Message.withAction(String link,
String label)
Adds an action as URL to the message
|
Message |
Message.withJavascriptAction(String codeFragment,
String label)
Adds an action as URL to the message
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterMessageProvider.addMessages(Consumer<Message> messageConsumer) |
Modifier and Type | Method and Description |
---|---|
Message |
MaintenanceInfo.maintenanceMessage()
Returns a message to be shown to all users indicating the current maintenance state of the current scope.
|
Modifier and Type | Method and Description |
---|---|
List<Message> |
UserContext.getMessages()
Returns all messages to be shown to the user.
|
List<Message> |
UserContext.getUserSpecificMessages()
Returns all user specific messages without any globally or locally generated ones.
|
Modifier and Type | Method and Description |
---|---|
void |
UserContext.addMessage(Message msg)
Adds a message to be shown to the user.
|
static void |
UserContext.message(Message msg)
Adds a message to the current UserContext.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageProvider.addMessages(Consumer<Message> messageConsumer)
Permits to add additional messages when rendering a page.
|
Copyright © 2018. All rights reserved.