HiRISE

HiRISE.HiReport.servlets
Class JpipLaunchServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by HiRISE.HiReport.servlets.JpipLaunchServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JpipLaunchServlet
extends javax.servlet.http.HttpServlet

Servlet for launching JPIP images.

See Also:
Serialized Form

Field Summary
static String ID
          CVS ID
 
Constructor Summary
JpipLaunchServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Respond to a request, serving the appropriate chart, then deleting it
 void init(javax.servlet.ServletConfig config)
          Load configuration from web application deployment descriptor.
 
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, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

JpipLaunchServlet

public JpipLaunchServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Load configuration from web application deployment descriptor. Must specify initialization parameters "JpipBase" (base URL) "Jp2Pattern" (allowed input) "JplMimeType" (content-type)

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - Configuration reference
Throws:
javax.servlet.ServletException - Initialization failed

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException
Respond to a request, serving the appropriate chart, then deleting it

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - incoming request
res - outgoing response
Throws:
javax.servlet.ServletException

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona