|
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.HRProtectedHttpClient
public abstract class HRProtectedHttpClient
Protected HTTP 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 | |
|---|---|
HRProtectedHttpClient()
|
|
| Method Summary | |
|---|---|
String |
getUserName()
Gets user name required to make connection. |
String |
getUserPassword()
Gets user password required to make connection. |
protected InputStream |
openConnection(String connectionString)
Creates HTTP connection. |
protected InputStream |
openConnection(String connectionString,
String initString)
Creates http connection. |
void |
setUserName(String userName)
Sets user name required to make connection. |
void |
setUserPassword(String userPassword)
Sets user password required to make connection. |
| 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 |
|---|
getHostUrl, getTimeout, isPingSupported, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.gpt.catalog.harvest.clients.HRClient |
|---|
ping |
| Constructor Detail |
|---|
public HRProtectedHttpClient()
| Method Detail |
|---|
public String getUserName()
public void setUserName(String userName)
userName - user name required to make connectionpublic String getUserPassword()
public void setUserPassword(String userPassword)
userPassword - user password required to make connection
protected InputStream openConnection(String connectionString)
throws HRConnectionException
openConnection in class HRHttpClientconnectionString - connection string
HRConnectionException - if unable to open connection
protected InputStream openConnection(String connectionString,
String initString)
throws HRConnectionException
openConnection in class HRHttpClientconnectionString - connection stringinitString - text of request to be sent uppon connection
HRConnectionException - if unable to open connection
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||