ch.uzh.ifi.attempto.acewiki
Class BackendServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ch.uzh.ifi.attempto.acewiki.BackendServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BackendServlet
extends javax.servlet.http.HttpServlet

This class is a servlet that creates a Backend object and shares it with the AceWiki servlet. To use a Backend object from a particular BackendServlet, add a "backend" parameter to the AceWiki servlet configuration and set its value to the BackendServlet name. acewiki1 ch.uzh.ifi.attempto.acewiki.AceWikiServlet 2 backend backend1 backend1 ch.uzh.ifi.attempto.acewiki.BackendServlet 1 This servlet accepts all parameters that the AceWiki servlet accepts.

Author:
Yu Changyuan
See Also:
Serialized Form

Constructor Summary
BackendServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
           
static void setDefaultValues(java.util.Map<java.lang.String,java.lang.String> parameters)
          Sets some default values for the given parameter map.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackendServlet

public BackendServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

setDefaultValues

public static void setDefaultValues(java.util.Map<java.lang.String,java.lang.String> parameters)
Sets some default values for the given parameter map.

Parameters:
parameters - The parameter map.


Copyright 2008-2012, AceWiki developers