ArcGIS Server Geoportal extension
10

com.esri.gpt.control.csw.inbound202
Class PublicationServlet

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.csw.inbound202.PublicationServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig
Direct Known Subclasses:
SoapPublicationServlet

public class PublicationServlet
extends BaseServlet

Servlet end-point for CSW 2.0.2 publication requests.

See Also:
Serialized Form

Constructor Summary
PublicationServlet()
           
 
Method Summary
protected  void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Executes a request.
protected  void executeCSW(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Executes a CSW request.
protected  String handleException(Exception e)
          Creation an ExceptionReport response when an exception is encountered.
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationServlet

public PublicationServlet()
Method Detail

execute

protected void execute(HttpServletRequest request,
                       HttpServletResponse response,
                       RequestContext context)
                throws Exception
Executes a request.

Specified by:
execute in class BaseServlet
Parameters:
request - the servlet request
response - the servlet response
context - the request context
Throws:
Exception - if an exception occurs

executeCSW

protected void executeCSW(HttpServletRequest request,
                          HttpServletResponse response,
                          RequestContext context)
                   throws Exception
Executes a CSW request.

Parameters:
request - the servlet request
response - the servlet response
context - the request context
Throws:
Exception - if an exception occurs

handleException

protected String handleException(Exception e)
Creation an ExceptionReport response when an exception is encountered.

Parameters:
e - the exception
Returns:
the exception report string

ArcGIS Server Geoportal extension
10

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