com.esri.gpt.catalog.harvest.clients
Class HRAgpClient
java.lang.Object
com.esri.gpt.catalog.harvest.clients.HRAbstractClient
com.esri.gpt.catalog.harvest.clients.HRHttpClient
com.esri.gpt.catalog.harvest.clients.HRProtectedHttpClient
com.esri.gpt.catalog.harvest.clients.HRAgpClient
- All Implemented Interfaces:
- HRClient
public class HRAgpClient
- extends HRProtectedHttpClient
ArcGIS Portal client.
NOTE! This is EXPERIMENTAL feature. It might be removed at any time in the future.
Method Summary |
protected String |
getHostUrl()
Gets host url. |
boolean |
isPingSupported()
Checks if ping operation is supported. |
void |
ping()
Checks and verifies connection to the remote repository. |
HRAgpClient
public HRAgpClient(String hostUrl)
- Creates instance of the client.
- Parameters:
hostUrl
- host URL
getHostUrl
protected String getHostUrl()
- Description copied from class:
HRAbstractClient
- Gets host url.
- Specified by:
getHostUrl
in class HRAbstractClient
- Returns:
- host url
ping
public void ping()
throws HRInvalidProtocolException,
HRConnectionException,
UnsupportedOperationException
- Description copied from interface:
HRClient
- Checks and verifies connection to the remote repository.
- Throws:
HRInvalidProtocolException
- if provided connection
definition is incomplete
HRConnectionException
- if connection to the remote repository can not
be established at this moment
UnsupportedOperationException
- if operation is not supported
isPingSupported
public boolean isPingSupported()
- Description copied from class:
HRAbstractClient
- Checks if ping operation is supported.
- Specified by:
isPingSupported
in interface HRClient
- Overrides:
isPingSupported
in class HRAbstractClient
- Returns:
true
if ping operation is supported- See Also:
HRClient.ping()
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.