public class DownloadServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
DownloadServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The doGet method of the servlet.
|
protected void |
downloadDocument(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String sid,
User user) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
request
- the request send by the client to the serverresponse
- the response send by the server to the clientjavax.servlet.ServletException
- if an error occurredIOException
- if an error occurredprotected void downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, User user) throws FileNotFoundException, IOException, javax.servlet.ServletException
FileNotFoundException
IOException
javax.servlet.ServletException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.