public class DownloadServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
DownloadServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
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. |
static String |
getContactEmail() |
static String |
getDownloadPath() |
static String |
getDownloadServletPath() |
static String |
getEmailSuffix() |
static String |
getMailDownloadError() |
static String |
getMailDownloadSucces() |
static String |
getMailKaartselectie() |
String |
getServletInfo()
Returns a short description of the servlet.
|
static String |
getSmtpHost() |
void |
init(javax.servlet.ServletConfig config) |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP
GET and POST methods. |
static void |
setEmailSuffix(String emailSuffix) |
static void |
setMailKaartselectie(String mailKaartselectie) |
static String |
uniqueName(String extension) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET and POST methods.request - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic static String getDownloadPath()
public static String getContactEmail()
public static String getSmtpHost()
public static String getDownloadServletPath()
public static String getMailDownloadSucces()
public static String getMailDownloadError()
public static String getMailKaartselectie()
public static void setMailKaartselectie(String mailKaartselectie)
public static String getEmailSuffix()
public static void setEmailSuffix(String emailSuffix)
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GET method.doGet in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
POST method.doPost in class javax.servlet.http.HttpServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletCopyright © 2016. All rights reserved.