com.atlassian.jira.functest.framework.admin.plugins
Class RestResources.EndPoint

java.lang.Object
  extended by com.atlassian.jira.functest.framework.admin.plugins.RestResources.EndPoint
Enclosing class:
RestResources

public class RestResources.EndPoint
extends Object

Represents the "endpoint" resource included in the reference plugin.


Constructor Summary
RestResources.EndPoint(net.sourceforge.jwebunit.WebTester tester)
           
 
Method Summary
 JSONObject get()
          Invoke the GET HTTP method on this resource.
 boolean isReachable()
           
 String url()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestResources.EndPoint

public RestResources.EndPoint(net.sourceforge.jwebunit.WebTester tester)
Method Detail

url

public String url()

get

public JSONObject get()
               throws JSONException
Invoke the GET HTTP method on this resource.

Returns:
the JSON object in the response.
Throws:
JSONException - If the JSON is malformed.

isReachable

public boolean isReachable()


Copyright © 2002-2013 Atlassian. All Rights Reserved.