public class ToolPortal extends HttpServlet
| Constructor and Description |
|---|
ToolPortal() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Shutdown the servlet.
|
protected void |
doError(HttpServletRequest req,
HttpServletResponse res,
Throwable t) |
protected void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Respond to navigation / access requests.
|
protected void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Respond to data posting requests.
|
protected boolean |
doTool(HttpServletRequest req,
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(ServletConfig config)
Initialize the servlet.
|
protected void |
setupForward(HttpServletRequest req,
HttpServletResponse res,
org.sakaiproject.tool.api.Placement p,
String skin)
Setup the request attributes with information used by the tools in their
response.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, logpublic String getServletInfo()
getServletInfo in interface ServletgetServletInfo in class GenericServletpublic void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletconfig - The servlet config.ServletExceptionpublic void destroy()
destroy in interface Servletdestroy in class GenericServletprotected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
doGet in class HttpServletreq - The servlet request.res - The servlet response.ServletException.IOException.ServletExceptionIOExceptionprotected boolean doTool(HttpServletRequest req, 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.ToolExceptionIOExceptionprotected void doError(HttpServletRequest req, HttpServletResponse res, Throwable t)
protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
doPost in class HttpServletreq - The servlet request.res - The servlet response.ServletException.IOException.ServletExceptionIOExceptionprotected void setupForward(HttpServletRequest req, HttpServletResponse res, org.sakaiproject.tool.api.Placement p, String skin) throws org.sakaiproject.tool.api.ToolException
req - res - p - skin - org.sakaiproject.tool.api.ToolExceptionCopyright © 2003-2016 University of Michigan. All Rights Reserved.