|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.HRWAFClient
public class HRWAFClient
Harvest repository WAF client. Provides complete implementation of the client cappable to access to Web Accessible Folders.
Field Summary |
---|
Fields inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient |
---|
FTP_URL_PFX, HTTP_URL_PFX, HTTPS_URL_PFX |
Constructor Summary | |
---|---|
HRWAFClient(String hostUrl,
String userName,
String userPassword)
Creates instance of the client. |
Method Summary | |
---|---|
String |
getHostUrl()
Gets host URL. |
void |
ping()
Checks and verifies connection to the remote repository. |
void |
setHostUrl(String hostUrl)
Sets host URL. |
String |
toString()
Returns a string representation of the object. |
protected void |
validateProtocol()
Validates protocol definition. |
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 |
Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRAbstractClient |
---|
getTimeout, isPingSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HRWAFClient(String hostUrl, String userName, String userPassword)
hostUrl
- host sUrluserName
- user nameuserPassword
- user passwordMethod Detail |
---|
public String getHostUrl()
getHostUrl
in class HRAbstractClient
public void setHostUrl(String hostUrl)
hostUrl
- host URLpublic void ping() throws HRInvalidProtocolException, HRConnectionException
HRInvalidProtocolException
- if provided connection
definition is incomplete
HRConnectionException
- if connection to the remote repository can not
be established at this momentpublic String toString()
toString
in class HRAbstractClient
protected void validateProtocol() throws HRInvalidProtocolException
validateProtocol
in class HRHttpClient
HRInvalidProtocolException
- if invalid protocol definition
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |