org.sonar.api.server.ws
Class WebService.NewAction
java.lang.Object
org.sonar.api.server.ws.WebService.NewAction
- Enclosing interface:
- WebService
public static class WebService.NewAction
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setDescription
public WebService.NewAction setDescription(@Nullable
String s)
setSince
public WebService.NewAction setSince(@Nullable
String s)
setPost
public WebService.NewAction setPost(boolean b)
setInternal
public WebService.NewAction setInternal(boolean b)
setHandler
public WebService.NewAction setHandler(RequestHandler h)
setResponseExample
public WebService.NewAction setResponseExample(@Nullable
URL url)
- Link to the document containing an example of response. Content must be UTF-8 encoded.
Example:
newAction.setResponseExample(getClass().getResource("/org/sonar/my-ws-response-example.json"));
- Since:
- 4.4
createParam
public WebService.NewParam createParam(String paramKey)
createParam
@Deprecated
public WebService.NewAction createParam(String paramKey,
@Nullable
String description)
- Deprecated. since 4.4. Use
createParam(String paramKey)
instead.
Copyright © 2009–2016 SonarSource. All rights reserved.