com.esri.gpt.catalog.harvest.clients
Class HRArcGisClient
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.HRArcGisClient
- All Implemented Interfaces:
- HRClient
public class HRArcGisClient
- extends HRProtectedHttpClient
ArcGis client.
Note, that since 10.0 clients found in this package are no loger in use except
to perform 'ping' functionality. Therefore, this class implements only neccessary
functionality and can not be considered as a full implementation of the client.
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. |
HRArcGisClient
public HRArcGisClient(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.