ecar.servlet.file
Class DownloadFile

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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

Field Summary
private  org.apache.log4j.Logger logger
           
private static long serialVersionUID
           
 
Constructor Summary
DownloadFile()
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

logger

private org.apache.log4j.Logger logger
Constructor Detail

DownloadFile

public DownloadFile()
Since:
N/C
Method Detail

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 - request
HttpServletResponse - 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á