Class WebService.Context

  • Enclosing interface:
    WebService

    public static class WebService.Context
    extends java.lang.Object
    • Constructor Detail

      • Context

        public Context()
    • Method Detail

      • createController

        public WebService.NewController createController​(java.lang.String path)
        Create a new controller.
        Structure of request URL is http://<server>/<controller path>/<action path>?<parameters>.
        Parameters:
        path - the controller path must not start or end with "/". It is recommended to start with "api/" and to use lower-case format with underscores, for example "api/coding_rules". Usual actions are "search", "list", "show", "create" and "delete". the plural form is recommended - ex: api/projects