We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Package com.vaadin.flow.server
Interface SystemMessagesProvider
All Superinterfaces:
All Known Implementing Classes:
Gives out system messages based on Locale. Registered using
VaadinService.setSystemMessagesProvider(SystemMessagesProvider)
.
Since:
1.0
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptiongetSystemMessages
(SystemMessagesInfo systemMessagesInfo) Gets the system messages to use in the given context.
-
Method Details
-
getSystemMessages
Gets the system messages to use in the given context. The
SystemMessagesInfo
object contains available information but in most cases some or both ofVaadinSession.getCurrent()
andUI.getCurrent()
can also be used to find more information to help the decision.Parameters:
systemMessagesInfo
- Locale, current request and other information available.Returns:
a system messages object
-