com.digitalsanctuary.atg.servlet
Class ImageServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.digitalsanctuary.atg.servlet.ImageServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ImageServlet
extends javax.servlet.http.HttpServlet

Author:
Devon Hillard This class is a standard HttpServlet which will parse the image repository id out of the request URI, lookup the image repository item from the Repository, and serve up the image data.
See Also:
Serialized Form

Constructor Summary
ImageServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse)
          The get request handling method.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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

ImageServlet

public ImageServlet()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest pRequest,
                     javax.servlet.http.HttpServletResponse pResponse)
              throws javax.servlet.ServletException,
                     java.io.IOException
The get request handling method. This method will parse the image repository id out of the request URI, lookup the image repository item from the Repository, and serve up the image data.

Parameters:
pRequest - the dynamo request object.
pResponse - the dynamo response object.
Throws:
javax.servlet.ServletException - on error.
java.io.IOException - on error.
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)