Package controller
Class GestioneSegnalazioneController
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
controller.GestioneSegnalazioneController
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@WebServlet(name="GestioneSegnalazioneController",
value="/segnalazioni/*")
public final class GestioneSegnalazioneController
extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private CampagnaService
campagnaService
Variabile per il service di Campagna.private SegnalazioniService
segnalazioniService
Variabile per il service di Segnalazione.private UtenteService
utenteService
Variabile per il service di Utente. -
Constructor Summary
Constructors Constructor Description GestioneSegnalazioneController()
Costruttore del SegnalazioneController.GestioneSegnalazioneController(CampagnaService cs, SegnalazioniService ss, UtenteService us)
Costruttore del SegnalazioneController. -
Method Summary
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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 Details
-
campagnaService
Variabile per il service di Campagna. -
segnalazioniService
Variabile per il service di Segnalazione. -
utenteService
Variabile per il service di Utente.
-
-
Constructor Details
-
GestioneSegnalazioneController
public GestioneSegnalazioneController(CampagnaService cs, SegnalazioniService ss, UtenteService us)Costruttore del SegnalazioneController.- Parameters:
cs
- CampagnaServicess
- CampagnaServiceus
- UtenteService
-
GestioneSegnalazioneController
public GestioneSegnalazioneController()Costruttore del SegnalazioneController.
-
-
Method Details
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
java.io.IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException- Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
java.io.IOException
-