com.sibvisions.rad.server.http
Class DownloadServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.sibvisions.rad.server.http.DownloadServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class DownloadServlet
extends HttpServlet

It allows clients to download files from the TemporaryFileStorage under a given key.

See Also:
Serialized Form

Field Summary
static String KEY
          the servlet parameter to use, to send the key to this servlet to get the file from the TemporaryFileStorage.
 
Constructor Summary
DownloadServlet()
           
 
Method Summary
 void doGet(HttpServletRequest pRequest, HttpServletResponse pResponse)
          
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
the servlet parameter to use, to send the key to this servlet to get the file from the TemporaryFileStorage.

See Also:
Constant Field Values
Constructor Detail

DownloadServlet

public DownloadServlet()
Method Detail

doGet

public void doGet(HttpServletRequest pRequest,
                  HttpServletResponse pResponse)
           throws ServletException,
                  IOException

Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.