public abstract class ComponentServlet extends HttpServlet
ComponentServlet does some setup and provides some support for (mostly legacy) Sakai servlets and tools.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTR_PARAMS
This request's parsed parameters
|
| Constructor and Description |
|---|
ComponentServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
sendParentRedirect(HttpServletResponse resp,
String url)
Send a redirect so our parent ends up at the url, via javascript.
|
protected void |
service(HttpServletRequest req,
HttpServletResponse resp)
Override service, adding the setup for legacy.
|
protected void |
setNoCacheHeaders(HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logprotected static final String ATTR_PARAMS
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service in class HttpServletServletExceptionIOExceptionprotected void sendParentRedirect(HttpServletResponse resp, String url)
url - The redirect urlprotected void setNoCacheHeaders(HttpServletResponse resp)
Copyright © 2003-2015 The Sakai Foundation. All Rights Reserved.