Esri Geoportal Server
1.0

com.esri.gpt.control.rest.search
Class DistributedSearchServlet

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.georss.RestQueryServlet
                  extended by com.esri.gpt.control.rest.search.DistributedSearchServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class DistributedSearchServlet
extends RestQueryServlet

End-point for distributed search requests.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.control.georss.RestQueryServlet
RestQueryServlet.ResponseFormat
 
Constructor Summary
DistributedSearchServlet()
          Default constructor.
 
Method Summary
 void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Processes the HTTP request.
protected  SearchResultRecords executeQuery(HttpServletRequest request, HttpServletResponse response, RequestContext context, MessageBroker msgBroker, RestQuery query)
           
 
Methods inherited from class com.esri.gpt.control.georss.RestQueryServlet
executeQuery, executeQuery1, getRequestParameter, getResponseFormat, init, makeFeedWriter, parseRequest, setResponseContentType, toSearchCriteria
 
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

DistributedSearchServlet

public DistributedSearchServlet()
Default constructor.

Method Detail

execute

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

Overrides:
execute in class RestQueryServlet
Parameters:
request - the HTTP request.
response - HTTP response.
context - request context
Throws:
Exception - if an exception occurs

executeQuery

protected SearchResultRecords executeQuery(HttpServletRequest request,
                                           HttpServletResponse response,
                                           RequestContext context,
                                           MessageBroker msgBroker,
                                           RestQuery query)
                                    throws SearchException
Throws:
SearchException
See Also:
RestQueryServlet.executeQuery(javax.servlet.http.HttpServletRequest, com.esri.gpt.framework.context.RequestContext, com.esri.gpt.framework.jsf.MessageBroker, com.esri.gpt.catalog.discovery.rest.RestQuery)

Esri Geoportal Server
1.0

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