LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts.action
Class LyStrutsPushAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by leon.view.web.struts.action.LyStrutsLeonardiAction
          extended by leon.view.web.struts.action.LyStrutsPushAction

public class LyStrutsPushAction
extends LyStrutsLeonardiAction

Type : leon.view.web.struts.action.LyStrutsPageAction
This action generates push mechanism for graphical updates.


Field Summary
static java.lang.String __VERSION
           
static int PUSH_CHECK_DELAY
          Time to sleep for push thread (in milliseconds).
static int PUSH_ERROR_ITERATIONS
          Number of iterations in error before a notification is shown to the end-user.
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.struts.action.LyStrutsLeonardiAction
ADDITIONAL_SCRIPTS_MAX_SIZE, GENERATED_PAGE_MAX_SIZE
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
LyStrutsPushAction()
          Default constructor without parameters.
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mappings, org.apache.struts.action.ActionForm bean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Generic treatment for the push mechanism of the Leoanrdi User Interface.
 
Methods inherited from class leon.view.web.struts.action.LyStrutsLeonardiAction
beginRequest, checkSessionRegistered, decodeUrl, dumpToFile, endRequest, generateAdditionalScripts, getContextReativePath, getParameter, setNoCacheHeaders, setRequestAttributes
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

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.


PUSH_ERROR_ITERATIONS

public static int PUSH_ERROR_ITERATIONS
Number of iterations in error before a notification is shown to the end-user.

Constructor Detail

LyStrutsPushAction

public LyStrutsPushAction()
Default constructor without parameters.
This constructor should be kept for Java reflection.

Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mappings,
                                                      org.apache.struts.action.ActionForm bean,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
Generic treatment for the push mechanism of the Leoanrdi User Interface.

Overrides:
execute in class LyStrutsLeonardiAction
Parameters:
mappings - - The ActionMapping used to select this instance
bean - - The optional ActionForm bean for this request (if any)
request - - The HTTP request we are processing
response - - The HTTP response we are creating
Returns:
null : an empty action forward while the action has written the response.
Throws:
java.lang.Exception

(c) January 2013 - W4 S.A.

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