public class FuncTestRestClient extends Object
Constructor and Description |
---|
FuncTestRestClient(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
com.meterware.httpunit.WebResponse |
DELETE(String url) |
com.meterware.httpunit.WebResponse |
GET(String url) |
com.meterware.httpunit.WebResponse |
GET(String url,
Map<String,String> headers) |
JSONObject |
getJSON(String url,
String... expand) |
com.meterware.httpunit.WebResponse |
POST(String url,
JSONObject json) |
com.meterware.httpunit.WebResponse |
POST(String url,
String postBody) |
com.meterware.httpunit.WebResponse |
PUT(String url,
JSONObject json) |
com.meterware.httpunit.WebResponse |
PUT(String url,
String postBody) |
@Inject public FuncTestRestClient(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public JSONObject getJSON(String url, String... expand) throws JSONException
JSONException
public com.meterware.httpunit.WebResponse GET(String url) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse GET(String url, Map<String,String> headers) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse DELETE(String url) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse POST(String url, JSONObject json) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse POST(String url, String postBody) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse PUT(String url, JSONObject json) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse PUT(String url, String postBody) throws IOException, SAXException
IOException
SAXException
Copyright © 2002-2018 Atlassian. All Rights Reserved.