be.fedict.eid.applet.service
Class JSONServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by be.fedict.eid.applet.service.JSONServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class JSONServlet
extends HttpServlet

Servlet to retrieve the eID identity data from the HTTP session context via JSON.

Author:
Frank Cornelis
See Also:
Serialized Form

Constructor Summary
JSONServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
static void outputJSON(EIdData eIdData, PrintWriter writer)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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
 

Constructor Detail

JSONServlet

public JSONServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

outputJSON

public static void outputJSON(EIdData eIdData,
                              PrintWriter writer)
                       throws IOException,
                              CertificateEncodingException
Throws:
IOException
CertificateEncodingException


Copyright © 2008-2010 FedICT. All Rights Reserved.