|
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.catalog.harvest.clients.HRAbstractClient
com.esri.gpt.catalog.harvest.clients.HRHttpClient
com.esri.gpt.catalog.harvest.clients.HRCSWClient
public class HRCSWClient
CSW client. Provides complete implementation of the client accessing CSW harvest repositories.
| Field Summary |
|---|
| Fields inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient |
|---|
FTP_URL_PFX, HTTP_URL_PFX, HTTPS_URL_PFX |
| Constructor Summary | |
|---|---|
HRCSWClient(String hostUrl,
String profile)
Creates instance of the client. |
|
| Method Summary | |
|---|---|
protected void |
analyzePingResponse(InputStream response)
Analyzes response from the ping request. |
String |
getHostUrl()
Gets host URL. |
String |
getProfile()
Gets CSW profile. |
void |
ping()
Checks and verifies connection to the remote repository. |
void |
setHostUrl(String hostUrl)
Sets host URL. |
void |
setProfile(String profile)
Sets CSW profile. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.esri.gpt.catalog.harvest.clients.HRHttpClient |
|---|
isFtp, isHttp, isHttps, openConnection, openConnection, validateProtocol |
| 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 HRCSWClient(String hostUrl,
String profile)
hostUrl - host URLprofile - profile| Method Detail |
|---|
public String getProfile()
public void setProfile(String profile)
profile - profilepublic String getHostUrl()
getHostUrl in class HRAbstractClientpublic void setHostUrl(String hostUrl)
hostUrl - host URL
public 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 analyzePingResponse(InputStream response)
throws HRInvalidResponseException
response - response from the server
HRInvalidResponseException - if response is invalid
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||