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

java.lang.Object
  extended by org.sonar.api.server.ws.WsTester.TestResponse
All Implemented Interfaces:
Response
Enclosing class:
WsTester

public static class WsTester.TestResponse
extends Object
implements Response


Nested Class Summary
 class WsTester.TestResponse.TestStream
           
 
Nested classes/interfaces inherited from interface org.sonar.api.server.ws.Response
Response.Stream
 
Constructor Summary
WsTester.TestResponse()
           
 
Method Summary
 JsonWriter newJsonWriter()
           
 XmlWriter newXmlWriter()
           
 Response noContent()
           
 Response.Stream stream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsTester.TestResponse

public WsTester.TestResponse()
Method Detail

newJsonWriter

public JsonWriter newJsonWriter()
Specified by:
newJsonWriter in interface Response

newXmlWriter

public XmlWriter newXmlWriter()
Specified by:
newXmlWriter in interface Response

stream

public Response.Stream stream()
Specified by:
stream in interface Response

noContent

public Response noContent()
Specified by:
noContent in interface Response


Copyright © 2009-2014 SonarSource. All Rights Reserved.