|
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
public abstract class HRHttpClient
Harvest repository HTTP client. Provides implementation usefull when connecting to the remote repositories utilizing HTTP protocol.
| Field Summary | |
|---|---|
protected static String |
FTP_URL_PFX
ftp protocol prefix |
protected static String |
HTTP_URL_PFX
http protocol prefix |
protected static String |
HTTPS_URL_PFX
https protocol prefix |
| Constructor Summary | |
|---|---|
HRHttpClient()
|
|
| Method Summary | |
|---|---|
protected boolean |
isFtp()
Checks if protocol is a FTP protocol. |
protected boolean |
isHttp()
Checks if protocol is a HTTP protocol. |
protected boolean |
isHttps()
Checks if protocol is a HTTPS protocol. |
protected InputStream |
openConnection(String connectionString)
Creates HTTP connection. |
protected InputStream |
openConnection(String connectionString,
String initString)
Creates http connection. |
protected void |
validateProtocol()
Validates protocol definition. |
| 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 |
| Field Detail |
|---|
protected static final String HTTP_URL_PFX
protected static final String HTTPS_URL_PFX
protected static final String FTP_URL_PFX
| Constructor Detail |
|---|
public HRHttpClient()
| Method Detail |
|---|
protected boolean isHttp()
true if protocol is a HTTP protocolprotected boolean isHttps()
true if protocol is a HTTPS protocolprotected boolean isFtp()
true if protocol is a FTP protocol
protected void validateProtocol()
throws HRInvalidProtocolException
validateProtocol in class HRAbstractClientHRInvalidProtocolException - if invalid protocol definition
protected InputStream openConnection(String connectionString)
throws HRConnectionException
connectionString - connection string
HRConnectionException - if unable to open connection
protected InputStream openConnection(String connectionString,
String initString)
throws HRConnectionException
connectionString - 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 | ||||||||