|
||||||||||
| 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.mentata.sg8.SG8Servlet
An HTTP servlet for use in the SG8 gateway. This abstract subclass of Java standard HttpServlet provides methods to support the use of SG8 contexts and objects to perform transactions with the directory through a servlet container. A method of this class returns named contexts from a central persistent store. Another method translates formatted PATH_INFO strings into parameter information.
| Constructor Summary | |
SG8Servlet()
|
|
| Method Summary | |
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Sends a response that the servlet doesn't handle GET requests. |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Sends a response that the servlet doesn't handle POST requests. |
protected String |
getClassName()
Returns the name of the servlet's Java class. |
static SG8Context |
getContext(L3DPath path)
Returns the named context from an internally maintained collection. |
L3DPath |
getPath(HttpServletRequest req)
Returns a path bean matching the given request. |
| 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, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SG8Servlet()
| Method Detail |
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
req - a servlet requestres - a servlet response
ServletException
IOException
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
req - a servlet requestres - a servlet response
ServletException
IOExceptionprotected final String getClassName()
public final L3DPath getPath(HttpServletRequest req)
throws SG8Exception
req - a servlet request
SG8Exception - if the request doesn't specify a context or object
public static final SG8Context getContext(L3DPath path)
throws SG8Exception
path - a populated L3D path bean
SG8Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||