Class DownloadTrainingPlanServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
it.unisa.c03.myPersonalTrainer.trainingplan.control.DownloadTrainingPlanServlet
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@WebServlet(name="DownloadSchedaServlet",
value="/DownloadSchedaServlet")
public class DownloadTrainingPlanServlet
extends javax.servlet.http.HttpServlet
this class enable to download a training plan in pdf.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DownloadTrainingPlanServlet() -
Method Summary
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DownloadTrainingPlanServlet
public DownloadTrainingPlanServlet()
-
-
Method Details
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-