Esri Geoportal Server
1.0

com.esri.gpt.control.view
Class ThumbnailServlet

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.view.ThumbnailServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ThumbnailServlet
extends BaseServlet

Handles the display of local metadata thumbnail images.

Most thumbnails are remote urls and are accessed through standard HTTP.
The images for some metadata thumbnails are stored within the DBMS. These typically come from metadata that is being created/edited through ArcCatalog. These images are retrieved by the browser through this Servlet. A sample url to access this servlet:
<img src="/GPT9/thumbnail?uuid={6153A394-70A9-4311-A6DC-582F2F9758FF}"/>

See Also:
Serialized Form

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

ThumbnailServlet

public ThumbnailServlet()
Method Detail

execute

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

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

Esri Geoportal Server
1.0

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