public class SamigoJsfTool
extends org.sakaiproject.jsf.util.JsfTool
Customized JsfTool for Samigo - just to workaround the fact that Samigo has the JSF URL mapping "*.faces" hard-coded in several places. If all instances of "*.faces" were changed to "*.jsf", this class could be removed.
| Constructor and Description |
|---|
SamigoJsfTool() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeDefaultTarget(boolean lastVisited) |
protected void |
dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected boolean |
isResourceRequest(String path)
Recognize a path that is a resource request.
|
protected boolean |
sendToHelper(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
computeDefaultTarget, destroy, doGet, doPost, getServletInfo, init, redirectRequestedTargetdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected boolean isResourceRequest(String path)
isResourceRequest in class org.sakaiproject.jsf.util.JsfToolpath - The path to checkprotected void dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
dispatch in class org.sakaiproject.jsf.util.JsfTooljavax.servlet.ServletExceptionIOExceptionprotected boolean sendToHelper(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws org.sakaiproject.tool.api.ToolException
org.sakaiproject.tool.api.ToolExceptionprotected String computeDefaultTarget(boolean lastVisited)
Copyright © 2005-2014 Sakai Project. All Rights Reserved.