ecar.servlet.file
Class DownloadFile
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
ecar.servlet.file.DownloadFile
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DownloadFile
- extends javax.servlet.http.HttpServlet
- Author:
- felipev
- See Also:
- Serialized Form
Method Summary |
private void |
configurarResponse(javax.servlet.http.HttpServletResponse response)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Controla download de arquivos de acordo com permissao de acesso publico. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
logger
private org.apache.log4j.Logger logger
DownloadFile
public DownloadFile()
- Since:
- N/C
service
public final void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Controla download de arquivos de acordo com permissao de acesso publico.
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Parameters:
HttpServletRequest
- requestHttpServletResponse
- response
- Throws:
javax.servlet.ServletException
java.io.IOException
- Since:
- N/C
configurarResponse
private void configurarResponse(javax.servlet.http.HttpServletResponse response)
Copyright © 2007, PRODEPA - Processamento de Dados do Pará