public class NotificationView
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
NotificationView()
Instantiates a new notification view.
|
Modifier and Type | Method and Description |
---|---|
protected String |
createList()
Creates the list.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do get.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Do post.
|
protected String |
process(String notificationId)
Process.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public NotificationView()
HttpServlet.HttpServlet()
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
request
- the requestresponse
- the responsejavax.servlet.ServletException
- the servlet exceptionIOException
- Signals that an I/O exception has occurred.HttpServlet.doGet(HttpServletRequest request, HttpServletResponse response)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
request
- the requestresponse
- the responsejavax.servlet.ServletException
- the servlet exceptionIOException
- Signals that an I/O exception has occurred.HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)
protected String process(String notificationId)
notificationId
- the notification idprotected String createList()
All content is available under the Open Government Licence, except where otherwise stated
All example source code is available under Apache 2.0, except where otherwise stated