Class SimpleView


  • public class SimpleView
    extends Object
    Helper class to create Model and View for a given string. Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 28.12.11 22:18
    Since:
    7.0
    • Constructor Detail

      • SimpleView

        public SimpleView()
    • Method Detail

      • createTextView

        @NotNull
        public static org.springframework.web.servlet.ModelAndView createTextView​(@NotNull
                                                                                  String message)
        Creates simple view which will display the specified message.
        Parameters:
        message - message to display
        Returns:
        simple view which will display the specified message
        Since:
        7.0