superviseur.net.servlets
Class CapServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
superviseur.net.servlets.ProtectedResourceServlet
superviseur.net.servlets.CapServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class CapServlet
- extends ProtectedResourceServlet
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Method Summary |
void |
destroy()
Nettoyer les ressources |
protected void |
doAuthorizedGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
protected void |
doAuthorizedPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
void |
init(javax.servlet.ServletConfig config)
|
protected boolean |
isRequireddAdmin()
|
private java.lang.String |
makeParamAcces()
|
private java.lang.String |
readCodeCAP(java.lang.String strNumero)
|
private java.lang.String |
writeCodeCAP(java.lang.String strNumero,
java.lang.String code)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reponseWriter
private CapServlet.ReponseWriter reponseWriter
CapServlet
public CapServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class ProtectedResourceServlet
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Nettoyer les ressources
doAuthorizedGet
protected void doAuthorizedGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
doAuthorizedGet
in class ProtectedResourceServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
makeParamAcces
private java.lang.String makeParamAcces()
doAuthorizedPost
protected void doAuthorizedPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
doAuthorizedPost
in class ProtectedResourceServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
readCodeCAP
private java.lang.String readCodeCAP(java.lang.String strNumero)
writeCodeCAP
private java.lang.String writeCodeCAP(java.lang.String strNumero,
java.lang.String code)
isRequireddAdmin
protected boolean isRequireddAdmin()
- Specified by:
isRequireddAdmin
in class ProtectedResourceServlet