|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
pt.moredata.dataentry.taglibs.DownloadFileServlet
Company MoreData
| Field Summary | |
protected java.lang.String |
_contentType
Tipo de conteudo. |
protected javax.servlet.http.HttpServletRequest |
_request
HttpservletRequest object |
static java.lang.String |
FILE_KEY
|
static java.lang.String |
FILE_NAME_KEY
|
| Constructor Summary | |
DownloadFileServlet()
|
|
| Method Summary | |
void |
destroy()
Destroys the servlet. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP POST method. |
java.lang.String |
getServletInfo()
Returns a short description of the servlet. |
protected void |
initAttributes()
Inicializacao dos parametros da servltet. |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP GET and POST
methods. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, 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 |
public static final java.lang.String FILE_KEY
public static final java.lang.String FILE_NAME_KEY
protected javax.servlet.http.HttpServletRequest _request
protected java.lang.String _contentType
| Constructor Detail |
public DownloadFileServlet()
| Method Detail |
protected void initAttributes()
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
GET and POST
methods.
request - servlet requestresponse - servlet response
javax.servlet.ServletException - Description of the Exception
java.io.IOException - Description of the Exception
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
GET method.
request - servlet requestresponse - servlet response
javax.servlet.ServletException - Description of the Exception
java.io.IOException - Description of the Exception
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
POST method.
request - servlet requestresponse - servlet response
javax.servlet.ServletException - Description of the Exception
java.io.IOException - Description of the Exceptionpublic void destroy()
public java.lang.String getServletInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||