LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.controller
Class LyJQPushController

java.lang.Object
  extended by leon.view.web.jquery.controller.LyJQEventController
      extended by leon.view.web.jquery.controller.LyJQController
          extended by leon.view.web.jquery.controller.LyJQPushController
All Implemented Interfaces:
org.springframework.web.servlet.mvc.Controller

public class LyJQPushController
extends LyJQController

Push Spring controller


Field Summary
static int PUSH_CHECK_DELAY
          Time to sleep for push thread (in milliseconds).
static int PUSH_ITERATIONS
          Number of iterations for push response.
static int PUSH_MAX_DELAY
          Max delay for push response (in milliseconds).
 
Fields inherited from class leon.view.web.jquery.controller.LyJQController
_sessions, DEFAULT_SESSION
 
Constructor Summary
LyJQPushController()
           
 
Method Summary
 LyDemand getDemand(javax.servlet.http.HttpServletRequest request, LyEnvironment environment)
           
 org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class leon.view.web.jquery.controller.LyJQController
createApplication, generateCssFile, getApplication, getApplicationContext, getApplicationId, getContextRelativePath, getEnvironment, getLoginView, getRootUrlFromRequest, getSession, getSessionKey, setNoCacheHeaders, setSession, swapSession
 
Methods inherited from class leon.view.web.jquery.controller.LyJQEventController
checkSessionValidity, completeUrlParams, getViewManager, setRequestAttributes, writeUpdateScripts
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUSH_CHECK_DELAY

public static int PUSH_CHECK_DELAY
Time to sleep for push thread (in milliseconds).


PUSH_MAX_DELAY

public static int PUSH_MAX_DELAY
Max delay for push response (in milliseconds).


PUSH_ITERATIONS

public static int PUSH_ITERATIONS
Number of iterations for push response.

Constructor Detail

LyJQPushController

public LyJQPushController()
Method Detail

getDemand

public LyDemand getDemand(javax.servlet.http.HttpServletRequest request,
                          LyEnvironment environment)
Overrides:
getDemand in class LyJQController

handleRequest

@RequestMapping(value="/push")
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                                                                 javax.servlet.http.HttpServletResponse response)
                                                           throws java.lang.Exception
Specified by:
handleRequest in interface org.springframework.web.servlet.mvc.Controller
Overrides:
handleRequest in class LyJQEventController
Throws:
java.lang.Exception

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com