Package org.sakaiproject.vm
Class ComponentServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.sakaiproject.vm.ComponentServlet
-
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
- Direct Known Subclasses:
VmServlet
public abstract class ComponentServlet extends HttpServlet
ComponentServlet does some setup and provides some support for (mostly legacy) Sakai servlets and tools.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringATTR_PARAMSThis request's parsed parameters
-
Constructor Summary
Constructors Constructor Description ComponentServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsendParentRedirect(HttpServletResponse resp, String url)Send a redirect so our parent ends up at the url, via javascript.protected voidservice(HttpServletRequest req, HttpServletResponse resp)Override service, adding the setup for legacy.protected voidsetNoCacheHeaders(HttpServletResponse resp)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
ATTR_PARAMS
protected static final String ATTR_PARAMS
This request's parsed parameters- See Also:
- Constant Field Values
-
-
Method Detail
-
service
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Override service, adding the setup for legacy.- Overrides:
servicein classHttpServlet- Throws:
ServletExceptionIOException
-
sendParentRedirect
protected void sendParentRedirect(HttpServletResponse resp, String url)
Send a redirect so our parent ends up at the url, via javascript.- Parameters:
url- The redirect url
-
setNoCacheHeaders
protected void setNoCacheHeaders(HttpServletResponse resp)
-
-