public class DatasetDeliveryServlet extends javax.servlet.http.HttpServlet implements DataDeliveryKeys
ProductType
s (or Dataset
s) 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, service
public 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.HttpServlet
javax.servlet.ServletException
IOException
protected 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 Product
s 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.HttpServlet
req
- 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.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
Copyright © 1999–2017 Apache OODT. All rights reserved.