leon.view.web.jquery.controller
Class LyJQPushController
java.lang.Object
leon.view.web.jquery.controller.LyJQEventController
leon.view.web.jquery.controller.LyJQController
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). |
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
LyJQPushController
public LyJQPushController()
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
Website: W4 S.A., contact us: support@w4global.com