ArcGIS Server Geoportal extension
10

com.esri.gpt.control.rest.repositories
Class CswInfoServlet

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.rest.repositories.CswInfoServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class CswInfoServlet
extends BaseServlet

Transforms the response of a CSW GetCapabilities request to an HTML suitable for display within the GPt searach page.

Usage: http://host:port/context/rest/cswinfo?rid=[id]
rid - represents the registered remote repository id (either the integer id or uuid)

See Also:
Serialized Form

Constructor Summary
CswInfoServlet()
           
 
Method Summary
protected  void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Processes the HTTP request.
 
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

CswInfoServlet

public CswInfoServlet()
Method Detail

execute

protected void execute(HttpServletRequest request,
                       HttpServletResponse response,
                       RequestContext context)
                throws Exception
Processes the HTTP request.

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

ArcGIS Server Geoportal extension
10

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