Class PingHandler

  extended by com.mizar.faces.ajax.servlet.AjaxHandler
      extended by com.mizar.faces.ajax.phaseListener.PingHandler

public class PingHandler
extends AjaxHandler

The PingHandler does nothing, except prevent a time out. If the recipient spends a lot of time working with an Oracle Maps object or other object served by a remote application, then the main application might time out. Code in the mizarMaps.js javascript sends a ping to the main application for every significant Maps interaction in order to prevent a time out. The PingHandler is a required AjaxPhaseListener handler and is automatically included by AjaxPhaseListener

Field Summary
Fields inherited from class com.mizar.faces.ajax.servlet.AjaxHandler
Constructor Summary
Method Summary
 boolean processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process a request and create a response
Methods inherited from class com.mizar.faces.ajax.servlet.AjaxHandler
getEm, getLogger, getOrdinates, writeResponse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public PingHandler()
Method Detail


public boolean processRequest(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
Description copied from class: AjaxHandler
Process a request and create a response

Specified by:
processRequest in class AjaxHandler
true if the request is finished, false if the system should continue