Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.harvest.protocols
Class AbstractHTTPHarvestProtocol

java.lang.Object
  extended by com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
      extended by com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
All Implemented Interfaces:
Protocol, Serializable
Direct Known Subclasses:
ArcGISProtocol, HarvestProtocolAgp, HarvestProtocolAgp2Agp, HarvestProtocolAgs2Agp, HarvestProtocolArcIms, HarvestProtocolAtom, HarvestProtocolCsw, HarvestProtocolDCAT, HarvestProtocolGpt2Agp, HarvestProtocolOai, HarvestProtocolResource, HarvestProtocolThredds, HarvestProtocolWaf

public abstract class AbstractHTTPHarvestProtocol
extends HarvestProtocol

Abstract HTTP-based harvest protocol

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
HarvestProtocol.ProtocolType
 
Constructor Summary
AbstractHTTPHarvestProtocol()
           
 
Method Summary
 String getUserName()
          Gets user name.
 String getUserPassword()
          Gets user password.
 void ping(String url)
          Pings resource.
 void setUserName(String userName)
          Sets user name.
 void setUserPassword(String userPassword)
          Sets user password.
 
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol
applyAttributeMap, chckAttr, checkConnection, decryptString, encryptString, extractAttributeMap, getAdHoc, getAttributeMap, getClient, getDestinations, getFlags, getKind, getPingSupported, getType, newExecutor, setAdHoc, setAttributeMap, setDestinations, setFlags, toString, toXmlString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.gpt.control.webharvest.protocol.Protocol
newQueryBuilder
 

Constructor Detail

AbstractHTTPHarvestProtocol

public AbstractHTTPHarvestProtocol()
Method Detail

getUserName

public String getUserName()
Gets user name.

Returns:
user name

setUserName

public void setUserName(String userName)
Sets user name.

Parameters:
userName - user name

getUserPassword

public String getUserPassword()
Gets user password.

Returns:
user password

setUserPassword

public void setUserPassword(String userPassword)
Sets user password.

Parameters:
userPassword - user password

ping

public void ping(String url)
          throws Exception
Description copied from class: HarvestProtocol
Pings resource.

Overrides:
ping in class HarvestProtocol
Parameters:
url - resource URL
Throws:
IllegalArgumentException - if invalid protocol definition
IOException - if error connection resource
Exception

Esri Geoportal Server
1.2.9

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