org.sakaiproject.editor
Class EditorServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.sakaiproject.editor.EditorServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class EditorServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
static String EDITOR_BOOTSTRAP_JS
           
static String EDITOR_JS
           
static String EDITOR_LAUNCH_JS
           
static EditorRegistry editorRegistry
           
static PortalService portalService
           
 
Constructor Summary
EditorServlet()
           
 
Method Summary
 void destroy()
          Shutdown the servlet.
protected  void doError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, Throwable t)
           
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Respond to navigation / access requests.
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Respond to data posting requests.
 String getServletInfo()
          Access the Servlet's information display.
 void init(javax.servlet.ServletConfig config)
          Initialize the servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDITOR_BOOTSTRAP_JS

public static final String EDITOR_BOOTSTRAP_JS
See Also:
Constant Field Values

EDITOR_JS

public static final String EDITOR_JS
See Also:
Constant Field Values

EDITOR_LAUNCH_JS

public static final String EDITOR_LAUNCH_JS
See Also:
Constant Field Values

portalService

public static final PortalService portalService

editorRegistry

public static final EditorRegistry editorRegistry
Constructor Detail

EditorServlet

public EditorServlet()
Method Detail

getServletInfo

public String getServletInfo()
Access the Servlet's information display.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet
Returns:
servlet information.

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initialize the servlet.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - The servlet config.
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Shutdown the servlet.

Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse res)
              throws javax.servlet.ServletException,
                     IOException
Respond to navigation / access requests.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - The servlet request.
res - The servlet response.
Throws:
ServletException.
IOException.
javax.servlet.ServletException
IOException

doError

protected void doError(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res,
                       Throwable t)

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse res)
               throws javax.servlet.ServletException,
                      IOException
Respond to data posting requests.

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req - The servlet request.
res - The servlet response.
Throws:
ServletException.
IOException.
javax.servlet.ServletException
IOException


Copyright © 2003-2012 University of Michigan. All Rights Reserved.