com.atlassian.confluence.it
Class RestHelper
java.lang.Object
com.atlassian.confluence.it.RestHelper
public class RestHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestHelper
public RestHelper()
getNewWebResource
public com.sun.jersey.api.client.WebResource getNewWebResource(String url)
getResponse
public JSONObject getResponse(com.sun.jersey.api.client.WebResource resource)
throws JSONException
- Throws:
JSONException
addUserCredentials
public com.sun.jersey.api.client.WebResource addUserCredentials(com.sun.jersey.api.client.WebResource resource,
User user)
Copyright © 2003-2012 Atlassian. All Rights Reserved.