Class SystemMessagesInfo

    • Constructor Detail

      • SystemMessagesInfo

        public SystemMessagesInfo​(Locale locale,
                                  VaadinRequest request,
                                  VaadinService service)
        Creates an instance based on the given locale, request and service.
        Parameters:
        locale - the locale the desired locale for the system messages
        request - the request we are processing
        service - the service instance
    • Method Detail

      • getLocale

        public Locale getLocale()
        The locale of the UI related to the SystemMessages request.
        Returns:
        The Locale or null if the locale is not known
      • getRequest

        public VaadinRequest getRequest()
        Gets the request currently in progress.
        Returns:
        The request currently in progress or null if no request is in progress.
      • getService

        public VaadinService getService()
        Returns the service this SystemMessages request comes from.
        Returns:
        The service which triggered this request or null of not triggered from a service.