uk.ac.ebi.intact.application.hierarchView.business.servlet
Class GenerateImage

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--uk.ac.ebi.intact.application.hierarchView.business.servlet.GenerateImage
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GenerateImage
extends javax.servlet.http.HttpServlet

Purpose:
For a bean given in the session, forward an image to be displayed. The image format is parameterized in the Graph.properties file.

Version:
$Id: GenerateImage.java,v 1.22 2003/11/13 14:17:48 skerrien Exp $
Author:
Samuel Kerrien (skerrien@ebi.ac.uk)
See Also:
Serialized Form

Constructor Summary
GenerateImage()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse)
          Servlet allowing to get image data, rasterize into JPEG and send to the browser the image by taking care of the MIME type.
 
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

GenerateImage

public GenerateImage()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest aRequest,
                  javax.servlet.http.HttpServletResponse aResponse)
           throws javax.servlet.ServletException
Servlet allowing to get image data, rasterize into JPEG and send to the browser the image by taking care of the MIME type.

Overrides:
doGet in class javax.servlet.http.HttpServlet
javax.servlet.ServletException


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk