public class DatasetDeliveryServlet extends javax.servlet.http.HttpServlet implements DataDeliveryKeys
ProductTypes (or Datasets) as
zipped up packages.| Modifier and Type | Field and Description |
|---|---|
static int |
INT |
CONTENT_DISPOSITION_HDR, CONTENT_LENGTH_HDR, CONTENT_TYPE_HDR, FORMAT_ZIP| Constructor and Description |
|---|
DatasetDeliveryServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Method requires a single parameter,
typeID, specifying a valid
ProductType within the filemgr. |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPost, doTrace, getLastModified, service, servicepublic static final int INT
protected 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.ServletExceptionIOExceptionprotected void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
typeID, specifying a valid
ProductType within the filemgr. All Products associated
with the given typeID are packaged up (as zip files), and then
aggregated and zipped and delivered as an entire collection called a
Dataset.doPut in class javax.servlet.http.HttpServletreq - Servlet request.res - Servlet responsejavax.servlet.ServletException - If any error occurs.IOException - If an I/O error occurs.public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.