Package org.mojavemvc.tests.views

Examples of org.mojavemvc.tests.views.HTMLPage


    }

    @Action("param-annotation-doubles")
    public View paramAnnotationTest10(@Param("p1") double[] p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-doubles " +
                    p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]);
    }
View Full Code Here


    }
   
    @Action("param-annotation-bigdecimals")
    public View paramAnnotationTestBigDecimals(@Param("p1") BigDecimal[] p1) {

        return new HTMLPage()
            .withH2Content("index/param-annotation-bigdecimals " +
                    p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]);
    }
View Full Code Here

    @StatelessController
    private static class TestHttpMethodController {

        @GETAction
        public View getAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @POSTAction
        public View postAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @PUTAction
        public View putAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @DELETEAction
        public View deleteAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @OPTIONSAction
        public View optionsAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @TRACEAction
        public View traceAction() {
            return new HTMLPage();
        }
View Full Code Here

            return new HTMLPage();
        }

        @HEADAction
        public View headAction() {
            return new HTMLPage();
        }
View Full Code Here

    @StatelessController
    private static class TestInvalidController1 {

        @Action("test")
        public View testAction() {
            return new HTMLPage();
        }
View Full Code Here

TOP

Related Classes of org.mojavemvc.tests.views.HTMLPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.