public static class WebService.NewAction extends Object
Modifier and Type | Method and Description |
---|---|
WebService.NewParam |
createParam(String paramKey) |
WebService.NewAction |
createParam(String paramKey,
String description)
Deprecated.
since 4.4. Use
createParam(String paramKey) instead. |
WebService.NewAction |
setDescription(String s) |
WebService.NewAction |
setHandler(RequestHandler h) |
WebService.NewAction |
setInternal(boolean b) |
WebService.NewAction |
setPost(boolean b) |
WebService.NewAction |
setResponseExample(URL url)
Link to the document containing an example of response.
|
WebService.NewAction |
setSince(String s) |
public WebService.NewAction setDescription(@Nullable String s)
public WebService.NewAction setSince(@Nullable String s)
public WebService.NewAction setPost(boolean b)
public WebService.NewAction setInternal(boolean b)
public WebService.NewAction setHandler(RequestHandler h)
public WebService.NewAction setResponseExample(@Nullable URL url)
newAction.setResponseExample(getClass().getResource("/org/sonar/my-ws-response-example.json"));
public WebService.NewParam createParam(String paramKey)
@Deprecated public WebService.NewAction createParam(String paramKey, @Nullable String description)
createParam(String paramKey)
instead.Copyright © 2009–2015 SonarSource. All rights reserved.