public interface SystemMessagesProvider extends Serializable
VaadinService.setSystemMessagesProvider(SystemMessagesProvider)
.Modifier and Type | Method and Description |
---|---|
SystemMessages |
getSystemMessages(SystemMessagesInfo systemMessagesInfo)
Gets the system messages to use in the given context.
|
SystemMessages getSystemMessages(SystemMessagesInfo systemMessagesInfo)
SystemMessagesInfo
object contains available information but in
most cases some or both of VaadinSession.getCurrent()
and
UI.getCurrent()
can also be used to find more information to help
the decision.systemMessagesInfo
- Locale, current request and other information available.Copyright © 2023. All rights reserved.