Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.clients
Class HRArcGisClient

java.lang.Object
  extended by com.esri.gpt.catalog.harvest.clients.HRAbstractClient
      extended by com.esri.gpt.catalog.harvest.clients.HRHttpClient
          extended by com.esri.gpt.catalog.harvest.clients.HRProtectedHttpClient
              extended by 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.


Field Summary
 
Fields inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient
FTP_URL_PFX, HTTP_URL_PFX, HTTPS_URL_PFX
 
Constructor Summary
HRArcGisClient(String hostUrl)
          Creates instance 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.
 
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRProtectedHttpClient
getUserName, getUserPassword, openConnection, openConnection, setUserName, setUserPassword
 
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient
isFtp, isHttp, isHttps, validateProtocol
 
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRAbstractClient
getTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HRArcGisClient

public HRArcGisClient(String hostUrl)
Creates instance of the client.

Parameters:
hostUrl - host URL
Method Detail

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()

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.