org.sonar.api.server.ws
Class WsTester.TestRequest

java.lang.Object
  extended by org.sonar.api.server.ws.Request
      extended by org.sonar.api.server.ws.WsTester.TestRequest
Enclosing class:
WsTester

public static class WsTester.TestRequest
extends Request


Method Summary
 WebService.Action action()
           
 WsTester.Result execute()
           
 String method()
          Returns the name of the HTTP method with which this request was made.
 String param(String key)
           
 WsTester.TestRequest setMethod(String s)
           
 WsTester.TestRequest setParam(String key, String value)
           
 WsTester.TestRequest setParams(Map<String,String> m)
           
 
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
 

Method Detail

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.