2930313233343536
public class HttpMethodController5 { @DefaultAction public View defaultAction() { return new HTMLPage() .withH2Content("default"); }
3637383940414243
} @TRACEAction public View doTraceAction() { return new HTMLPage() .withH2Content("trace"); }
public class HttpMethodController2 { @DefaultAction public View defaultAction() { return new HTMLPage() .withH2Content("default"); }
} @POSTAction public View doPostAction() { return new HTMLPage() .withH2Content("post"); }
public class HttpMethodController6 { @DefaultAction public View defaultAction() { return new HTMLPage() .withH2Content("default"); }
} @DELETEAction public View doDeleteAction() { return new HTMLPage() .withH2Content("delete"); }
5556575859606162
@Action("some-action") public View someAction() { invocationList.add("someAction"); return new HTMLPage() .withH2Content("someAction"); }
6364656667686970
@DefaultAction public View defaultAction() { invocationList.add("defaultAction"); return new HTMLPage() .withH2Content("defaultAction"); }
public class HttpMethodController3 { @DefaultAction public View defaultAction() { return new HTMLPage() .withH2Content("default"); }
} @PUTAction public View doPutAction() { return new HTMLPage() .withH2Content("put"); }