| org.sakaiproject.vm.VmServlet org.sakaiproject.cheftool.VmServlet org.sakaiproject.citation.servlet.CitationServlet
Inner Class :protected enum Status | |
Inner Class :public class CitationServletInit extends Thread | |
Method Summary | |
public Citation | addCitation(ParameterParser params, String option, HttpServletResponse res) | public void | doGet(HttpServletRequest req, HttpServletResponse res) | protected void | doLogin(HttpServletRequest req, HttpServletResponse res, String path) Make a redirect to the login url. | public void | doPost(HttpServletRequest req, HttpServletResponse res) | public void | init(ServletConfig config) | protected void | respond(Status status, Citation citation, HttpServletRequest req, HttpServletResponse res) | protected void | sendError(HttpServletResponse res, int code) | public void | startInit() |
SERVLET_TEMPLATE | final public static String SERVLET_TEMPLATE(Code) | | |
m_ready | protected boolean m_ready(Code) | | set to true when init'ed.
|
addCitation | public Citation addCitation(ParameterParser params, String option, HttpServletResponse res)(Code) | | handle get and post communication from the user
Parameters: req - HttpServletRequest object with the client request Parameters: res - HttpServletResponse object back to the client |
doLogin | protected void doLogin(HttpServletRequest req, HttpServletResponse res, String path) throws ToolException, IOException(Code) | | Make a redirect to the login url.
Parameters: req - HttpServletRequest object with the client request. Parameters: res - HttpServletResponse object back to the client. Parameters: path - The current request path, set ONLY if we want this to be where to redirect the user after successfull login throws: IOException - |
sendError | protected void sendError(HttpServletResponse res, int code)(Code) | | Utility method to return errors as the response
Parameters: res - response associated with this request Parameters: code - error code |
startInit | public void startInit()(Code) | | Start the initialization process
|
|
|