Package org.mojavemvc.tests.views

Examples of org.mojavemvc.tests.views.HTMLPage


public class HttpMethodController5 {

    @DefaultAction
    public View defaultAction() {

        return new HTMLPage()
            .withH2Content("default");
    }
View Full Code Here


    }

    @TRACEAction
    public View doTraceAction() {

        return new HTMLPage()
            .withH2Content("trace");
    }
View Full Code Here

public class HttpMethodController2 {

    @DefaultAction
    public View defaultAction() {

        return new HTMLPage()
            .withH2Content("default");
    }
View Full Code Here

    }

    @POSTAction
    public View doPostAction() {

        return new HTMLPage()
            .withH2Content("post");
    }
View Full Code Here

public class HttpMethodController6 {

    @DefaultAction
    public View defaultAction() {

        return new HTMLPage()
            .withH2Content("default");
    }
View Full Code Here

    }

    @DELETEAction
    public View doDeleteAction() {

        return new HTMLPage()
            .withH2Content("delete");
    }
View Full Code Here

    @Action("some-action")
    public View someAction() {

        invocationList.add("someAction");
        return new HTMLPage()
            .withH2Content("someAction");
    }
View Full Code Here

    @DefaultAction
    public View defaultAction() {

        invocationList.add("defaultAction");
        return new HTMLPage()
            .withH2Content("defaultAction");
    }
View Full Code Here

public class HttpMethodController3 {

    @DefaultAction
    public View defaultAction() {

        return new HTMLPage()
            .withH2Content("default");
    }
View Full Code Here

    }

    @PUTAction
    public View doPutAction() {

        return new HTMLPage()
            .withH2Content("put");
    }
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.