|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.agp.client.AgpClient
public class AgpClient
An ArcGIS Portal client.
| Constructor Summary | |
|---|---|
AgpClient()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes any open resources. |
org.json.JSONObject |
executeJsonRequest(String url,
AgpProperties requestHeader,
ContentProvider contentProvider)
Executes a request expecting a JSON response. |
org.json.JSONObject |
executeJsonRequest(String url,
AgpProperties requestHeader,
StringBuilder content,
String contentType)
Executes a request expecting a JSON response. |
void |
executeRequest(String url,
AgpProperties requestHeader,
ContentProvider contentProvider,
ContentHandler contentHandler)
Executes a request. |
protected HttpClientRequest |
newHttpClientRequest()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgpClient()
| Method Detail |
|---|
public void close()
public org.json.JSONObject executeJsonRequest(String url,
AgpProperties requestHeader,
ContentProvider contentProvider)
throws Exception
url - the URLrequestHeader - optional request header propertiescontentProvider - the request body content provider
Exception - is an exception occurs
public org.json.JSONObject executeJsonRequest(String url,
AgpProperties requestHeader,
StringBuilder content,
String contentType)
throws Exception
url - the URLrequestHeader - optional request header propertiescontent - the request body contentcontentType - the request body content type
Exception - is an exception occurs
public void executeRequest(String url,
AgpProperties requestHeader,
ContentProvider contentProvider,
ContentHandler contentHandler)
throws Exception
url - the URLrequestHeader - optional request header propertiescontentProvider - the request body content providercontentHandler - the response body content handler
Exception - is an exception occursprotected HttpClientRequest newHttpClientRequest()
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||