ajax.gui.servlets
Class AjaxServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--ajax.gui.servlets.AjaxServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
DataStatistics, DeleteTuple, DisplayAllSummary, DisplaySummary, DisplayTable, ExecuteAjax, ExecuteAll, ExecuteTransformation, FileServer, InsertTuple, LeaveSession, SendGraphParamServlet, SetParameters, ShowTransformation, UpdateTuple, ValidateUser, Weave, WeaveResults

public class AjaxServlet
extends javax.servlet.http.HttpServlet

Standard class for ajax servlets

See Also:
Serialized Form

Field Summary
protected static java.lang.String busy
          The session identifier
 
Constructor Summary
AjaxServlet()
           
 
Method Summary
protected  boolean accessOk(javax.servlet.http.HttpServletRequest req)
           
protected  void desactivateCache(javax.servlet.http.HttpServletResponse resp)
          desactivate cache for http response
protected  AjaxImpl getAjax()
          return AjaxImpl unique instance set in init
protected  void notOkMessage(javax.servlet.http.HttpServletResponse resp)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

busy

protected static java.lang.String busy
The session identifier
Constructor Detail

AjaxServlet

public AjaxServlet()
Method Detail

getAjax

protected AjaxImpl getAjax()
return AjaxImpl unique instance set in init
See Also:
GenericServlet.init()

desactivateCache

protected void desactivateCache(javax.servlet.http.HttpServletResponse resp)
desactivate cache for http response
Parameters:
resp - http response

accessOk

protected boolean accessOk(javax.servlet.http.HttpServletRequest req)

notOkMessage

protected void notOkMessage(javax.servlet.http.HttpServletResponse resp)
                     throws java.io.IOException