|
|||||||||
| 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
org.sakaiproject.portal.tool.ToolPortal
public class ToolPortal
| Constructor Summary | |
|---|---|
ToolPortal()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Shutdown the servlet. |
protected void |
doError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Throwable t)
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Respond to navigation / access requests. |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Respond to data posting requests. |
protected boolean |
doTool(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.sakaiproject.tool.api.Session session,
String placementId,
String toolContextPath,
String toolPathInfo)
Process a tool request |
String |
getServletInfo()
Access the Servlet's information display. |
void |
init(javax.servlet.ServletConfig config)
Initialize the servlet. |
protected void |
setupForward(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.sakaiproject.tool.api.Placement p,
String skin)
Setup the request attributes with information used by the tools in their response. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
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 |
| Constructor Detail |
|---|
public ToolPortal()
| Method Detail |
|---|
public String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - The servlet config.
javax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletreq - The servlet request.res - The servlet response.
ServletException.
IOException.
javax.servlet.ServletException
IOException
protected boolean doTool(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.sakaiproject.tool.api.Session session,
String placementId,
String toolContextPath,
String toolPathInfo)
throws org.sakaiproject.tool.api.ToolException,
IOException
req - res - session - placementId - toolContextPath - toolPathInfo -
org.sakaiproject.tool.api.ToolException
IOException
protected void doError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Throwable t)
protected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletreq - The servlet request.res - The servlet response.
ServletException.
IOException.
javax.servlet.ServletException
IOException
protected void setupForward(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.sakaiproject.tool.api.Placement p,
String skin)
throws org.sakaiproject.tool.api.ToolException
req - res - p - skin -
org.sakaiproject.tool.api.ToolException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||