Package play.mvc

Class Controller

    • Constructor Detail

      • Controller

        public Controller()
    • Method Detail

      • checkAuthenticity

        protected void checkAuthenticity()
      • forbidden

        @Deprecated
        protected static void forbidden()
        Deprecated.
        instead if throwing an exception we recommend to RETURN the result. It makes your code clear and testable. Use method forbiddenResult().
        This "Play1-style" method throws Forbidden exception.
      • forbidden

        @Deprecated
        protected static void forbidden​(java.lang.String reason)
        Deprecated.
        instead if throwing an exception we recommend to RETURN the result. It makes your code clear and testable. Use method forbiddenResult().
        This "Play1-style" method throws Forbidden exception.
      • viewResult

        protected View viewResult()
      • viewResult

        protected View viewResult​(java.lang.String templateName)
      • forbiddenResult

        protected Forbidden forbiddenResult()