org.apache.oodt.cas.product.data
Class DatasetDeliveryServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.oodt.cas.product.data.DatasetDeliveryServlet
All Implemented Interfaces: Serializable , javax.servlet.Servlet, javax.servlet.ServletConfig, DataDeliveryKeys
public class DatasetDeliveryServlet extends javax.servlet.http.HttpServletimplements DataDeliveryKeys
Delivers back entire ProductType s (or Datasets) as
zipped up packages.
Version:
$Revision$
Author:
mattmann
See Also: Serialized Form
Method Summary
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)
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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
DatasetDeliveryServlet
public DatasetDeliveryServlet ()
doGet
protected void doGet (javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
Overrides: doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException
doPut
protected void doPut (javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
Method requires a single parameter, 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.
Overrides: doPut in class javax.servlet.http.HttpServlet
Parameters: req - Servlet request.res - Servlet response
Throws:
javax.servlet.ServletException - If any error occurs.
IOException - If an I/O error occurs.
init
public void init (javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
Specified by: init in interface javax.servlet.ServletOverrides: init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException
Copyright © 1999-2012 Apache OODT . All Rights Reserved.