public class DataDeliveryServlet extends javax.servlet.http.HttpServlet implements DataDeliveryKeys
| Modifier and Type | Field and Description | 
|---|---|
| static int | INT | 
CONTENT_DISPOSITION_HDR, CONTENT_LENGTH_HDR, CONTENT_TYPE_HDR, FORMAT_ZIP| Constructor and Description | 
|---|
| DataDeliveryServlet() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doGet(javax.servlet.http.HttpServletRequest req,
     javax.servlet.http.HttpServletResponse res) | 
| void | doPut(javax.servlet.http.HttpServletRequest req,
     javax.servlet.http.HttpServletResponse res)Handle a request for product data. | 
| void | init(javax.servlet.ServletConfig config) | 
doDelete, doHead, doOptions, doPost, doTrace, getLastModified, service, servicepublic static final int INT
public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic void doPut(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  IOException
productID identifying what product to retrieve, and an
 optional refIndex in order to select which reference file to
 send. By default it sends the zeroth reference.
 
 In addition, an optional format option can be specified to
 indicate that the product data be zipped up and delivered back as a
 zip file.doPut in class javax.servlet.http.HttpServletreq - Servlet requestres - Servlet responsejavax.servlet.ServletException - If an error occursIOException - If an I/O error occursCopyright © 1999–2017 Apache OODT. All rights reserved.