ArcGIS Server Geoportal extension
10

com.esri.gpt.control.harvest.servlets.publish
Class HarvestPublishServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.esri.gpt.framework.context.BaseServlet
              extended by com.esri.gpt.control.harvest.servlets.publish.HarvestPublishServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

Deprecated. since 10.0 with no intent to replace

public class HarvestPublishServlet
extends BaseServlet

Harvest-Publish servlet. It allows to publish documents harvested by Harvesting Tool.

Command name and commands parameters ar send to the servlet as attributes. Attribute named cmd holds command name. Varius commands requires different parameters. Each call to any command has to be authenticated through HTTP Basic Authentication.

Commands:

Attributes:

RetrieveAllHarvestingSites
RetrieveHarvestingSite
RetrieveUserInfo
Publish
InsertHistory

See Also:
Serialized Form

Constructor Summary
HarvestPublishServlet()
          Deprecated. Creates instance of the servlet.
 
Method Summary
protected  void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Deprecated. Executes harvest-publish request.
 void init(ServletConfig config)
          Deprecated. Initializes servlet.
 
Methods inherited from class com.esri.gpt.framework.context.BaseServlet
authenticate, doGet, doPost, getCredentials, getLogger, getParameterValue, getRealm, readInputCharacters, writeCharacterResponse, writeHtmlResponse, writeXmlResponse
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvestPublishServlet

public HarvestPublishServlet()
Deprecated. 
Creates instance of the servlet.

Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Deprecated. 
Initializes servlet.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - servlet configuration
Throws:
ServletException - if error initializing servlet

execute

protected void execute(HttpServletRequest request,
                       HttpServletResponse response,
                       RequestContext context)
                throws ServletException,
                       IOException,
                       CredentialsDeniedException,
                       NotAuthorizedException
Deprecated. 
Executes harvest-publish request.

Specified by:
execute in class BaseServlet
Parameters:
request - HTTP request.
response - HTTP response.
context - request context
Throws:
ServletException - if error invoking command.
IOException - if error writing to the buffer.
CredentialsDeniedException - if user not authenticated to perform publishing
NotAuthorizedException - if authenticated user is not authorized to perform requested action.

ArcGIS Server Geoportal extension
10

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