|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.tks.TokenServlet
public class TokenServlet
A class representings an administration servlet for Token Key Service Authority. This servlet is responsible to serve tks administrative operation such as configuration parameter updates.
| Field Summary | |
|---|---|
static int |
ERROR
|
protected static java.lang.String |
PROP_ENABLED
|
| Constructor Summary | |
|---|---|
TokenServlet()
Constructs tks servlet. |
|
| Method Summary | |
|---|---|
java.lang.String |
getServletInfo()
Returns serlvet information. |
void |
init(javax.servlet.ServletConfig config)
|
void |
process(CMSRequest cmsReq)
process an HTTP request. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Serves HTTP admin request. |
static java.lang.String |
trim(java.lang.String a)
|
protected java.lang.String |
URLdecode(java.lang.String s)
Process the HTTP request. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String PROP_ENABLED
public static int ERROR
| Constructor Detail |
|---|
public TokenServlet()
| Method Detail |
|---|
public static java.lang.String trim(java.lang.String a)
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class CMSServletjavax.servlet.ServletExceptionpublic java.lang.String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletprotected java.lang.String URLdecode(java.lang.String s)
s - The URL to decode.
public void process(CMSRequest cmsReq)
throws EBaseException
CMSServlet
process in class CMSServletEBaseException - if the servlet was unable to satisfactorily
process the request
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
service in class CMSServletreq - HTTP requestresp - HTTP response
javax.servlet.ServletException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||