| org.sakaiproject.access.tool.AccessServlet org.sakaiproject.access.tool.WebServlet
WebServlet | public class WebServlet extends AccessServlet (Code) | |
Web extends access: all references are assumed to be under "/content", and POST to add a file is supported.
author: Sakai Software Development Team |
Method Summary | |
public void | doGet(HttpServletRequest req, HttpServletResponse res) | public void | doPost(HttpServletRequest req, HttpServletResponse res) | protected void | postUpload(HttpServletRequest req, HttpServletResponse res) Handle file upload requests. | protected String | preProcessPath(String path, HttpServletRequest req) Make any changes needed to the path before final "ref" processing.
Parameters: path - The path from the request. Parameters: req - The request object. | protected boolean | writeFile(String name, String type, byte[] data, String dir, HttpServletRequest req, HttpServletResponse resp, boolean mkdir) |
preProcessPath | protected String preProcessPath(String path, HttpServletRequest req)(Code) | | Make any changes needed to the path before final "ref" processing.
Parameters: path - The path from the request. Parameters: req - The request object. The path to use to make the Reference for further processing. |
Methods inherited from org.sakaiproject.access.tool.AccessServlet | public void dispatch(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)(Java Doc) protected void doLogin(HttpServletRequest req, HttpServletResponse res, String path) throws ToolException, IOException(Code)(Java Doc) public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)(Java Doc) public void init(ServletConfig config) throws ServletException(Code)(Java Doc) protected AccessServletInfo newInfo(HttpServletRequest req)(Code)(Java Doc) protected String preProcessPath(String path, HttpServletRequest req)(Code)(Java Doc) protected void respondCopyrightAlertDemo(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc) protected void sendError(HttpServletResponse res, int code)(Code)(Java Doc) public void startInit()(Code)(Java Doc)
|
|
|