org.sonar.api.server.ws
Class WsTester.TestRequest
java.lang.Object
org.sonar.api.server.ws.Request
org.sonar.api.server.ws.WsTester.TestRequest
- Enclosing class:
- WsTester
public static class WsTester.TestRequest
- extends Request
Methods inherited from class org.sonar.api.server.ws.Request |
mandatoryParam, mandatoryParamAsBoolean, mandatoryParamAsInt, mandatoryParamAsLong, param, paramAsBoolean, paramAsBoolean, paramAsInt, paramAsInt, paramAsLong, paramAsLong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
public WebService.Action action()
- Specified by:
action
in class Request
method
public String method()
- Description copied from class:
Request
- Returns the name of the HTTP method with which this request was made. Possible
values are GET and POST. Others are not supported.
- Specified by:
method
in class Request
setMethod
public WsTester.TestRequest setMethod(String s)
setParams
public WsTester.TestRequest setParams(Map<String,String> m)
setParam
public WsTester.TestRequest setParam(String key,
@CheckForNull
String value)
param
@CheckForNull
public String param(String key)
- Specified by:
param
in class Request
execute
public WsTester.Result execute()
Copyright © 2009-2014 SonarSource. All Rights Reserved.