org.sonar.api.server.ws
Class WebService.Context
java.lang.Object
org.sonar.api.server.ws.WebService.Context
- Enclosing interface:
- WebService
public static class WebService.Context
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebService.Context
public WebService.Context()
createController
public WebService.NewController createController(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 "list", "show", "create" and "delete"
controller
@CheckForNull
public WebService.Controller controller(String key)
controllers
public List<WebService.Controller> controllers()
Copyright © 2009-2014 SonarSource. All Rights Reserved.