|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aetna.api.connector.Connector
com.aetna.api.connector.RESTConnector
public class RESTConnector
| Field Summary |
|---|
| Fields inherited from class com.aetna.api.connector.Connector |
|---|
url |
| Constructor Summary | |
|---|---|
RESTConnector(java.lang.String url)
Constructor that ensures the URL is well-formed |
|
| Method Summary | |
|---|---|
com.google.gson.JsonElement |
executeQuery()
Executes the request to the REST Service and converts data to JsonArray |
java.net.URL |
getUrl()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RESTConnector(java.lang.String url)
url - | Method Detail |
|---|
public com.google.gson.JsonElement executeQuery()
throws java.io.IOException,
java.net.MalformedURLException
IOException, - MalformedURLExecption
java.io.IOException
java.net.MalformedURLExceptionpublic java.net.URL getUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||