org.glite.security.voms.webui
Class ControllerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.glite.security.voms.webui.ControllerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class ControllerServlet
- extends javax.servlet.http.HttpServlet
The common part of the VOMS web-admin interface.
It creates the header and footer, and dispatches the action according to
the path name of the request. This class shall be configured as the
default dispatcher for a subtree:
<servlet>
<servlet-name>voms-webui</servlet-name>
<servlet-class>org.glite.security.voms.webui.ControllerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>voms-webui</servlet-name>
<url-pattern>/webui</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>voms-webui</servlet-name>
<url-pattern>/webui/*</url-pattern>
</servlet-mapping>
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
Respond to a GET request for the content produced by
this servlet. |
void |
doGetPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
|
protected Page |
findPage(javax.servlet.http.HttpServletRequest request)
|
void |
init()
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, 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 |
COPYRIGHT_BLURB
public static final java.lang.String COPYRIGHT_BLURB
unknown
protected Page unknown
ControllerServlet
public ControllerServlet()
init
public void init()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Respond to a GET request for the content produced by
this servlet.
- Parameters:
req
- The servlet request we are processingresponse
- The servlet response we are producing
- Throws:
java.io.IOException
- if an input/output error occurs
javax.servlet.ServletException
- if a servlet error occurs
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
doGetPost
public void doGetPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
findPage
protected Page findPage(javax.servlet.http.HttpServletRequest request)