Package org.sakaiproject.vm
Class ComponentServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.sakaiproject.vm.ComponentServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
VmServlet
public abstract class ComponentServlet extends javax.servlet.http.HttpServletComponentServlet 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(javax.servlet.http.HttpServletResponse resp, String url)Send a redirect so our parent ends up at the url, via javascript.protected voidservice(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)Override service, adding the setup for legacy.protected voidsetNoCacheHeaders(javax.servlet.http.HttpServletResponse resp)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
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(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOExceptionOverride service, adding the setup for legacy.- Overrides:
servicein classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
sendParentRedirect
protected void sendParentRedirect(javax.servlet.http.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(javax.servlet.http.HttpServletResponse resp)
-
-