com.sibvisions.rad.server.http
Class DownloadServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sibvisions.rad.server.http.ResourceServlet
com.sibvisions.rad.server.http.DownloadServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DownloadServlet
- extends ResourceServlet
It allows clients to download files from the ObjectCache
.
under a given key.
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
|
protected java.lang.String |
getResourceDirectoryName()
Gets the name of the resource directory. |
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 |
PARAM_ONLOAD
public static final java.lang.String PARAM_ONLOAD
- the URL parameter for the onload download option.
- See Also:
- Constant Field Values
PARAM_DOWNLOADBUTTON
public static final java.lang.String PARAM_DOWNLOADBUTTON
- the URL parameter for the download button text.
- See Also:
- Constant Field Values
PARAM_NO_CONTENT_DISPOSITION
public static final java.lang.String PARAM_NO_CONTENT_DISPOSITION
- the "no" content-disposition parameter.
- See Also:
- Constant Field Values
DownloadServlet
public DownloadServlet()
getResourceDirectoryName
protected java.lang.String getResourceDirectoryName()
- Gets the name of the resource directory.
- Specified by:
getResourceDirectoryName
in class ResourceServlet
- Returns:
- the resource directory name
doGet
public void doGet(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
-
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.