be.fedict.eid.applet.service
Class AbstractAppletServiceServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
be.fedict.eid.applet.service.AbstractAppletServiceServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- AppletServiceServlet
public abstract class AbstractAppletServiceServlet
- extends HttpServlet
The eID applet service abstract Servlet. This abstract servlet is the basis
for the classic Java EE 5 AppletServiceServlet, and the Java EE 6 CDI based
version.
- Author:
- Frank Cornelis
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAppletServiceServlet
public AbstractAppletServiceServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
getMessageHandler
protected abstract <T> MessageHandler<T> getMessageHandler(Class<T> messageClass)
- This method needs to be implemented by servlets that extend this abstract
base servlet.
- Parameters:
messageClass
-
- Returns:
doPost
protected void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2008-2014 FedICT. All Rights Reserved.