com.jfw.status.struts2
Class LogViewerDispatcherAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.jfw.web.struts2.JFWAction
          extended by com.jfw.status.struts2.AdministrationAction
              extended by com.jfw.status.struts2.LogViewerDispatcherAction
All Implemented Interfaces:
JFWCommonAction, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, java.io.Serializable, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.ServletResponseAware

public final class LogViewerDispatcherAction
extends AdministrationAction

Show the log messages. If the action is called directly from the browser then the log messages are showed in th browser.
Use the class LogViewerObserver for send the log messages at the output stream. After 100Mbytes the output stream is closed and non more log messages can be send.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jfw.web.struts2.JFWAction
className, LOCALE_KEY, LOCALE_STRUTS2_SESSION_KEY
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.jfw.web.JFWCommonAction
AUTH_MSG_KEY, AUTH_USER_NOT_IN_DB, ERROR_KEY, excludeParams, LOCALE_LANGUAGE_KEY, logger, OPERATION_RESULT_KEY, OPERATION_RESULT_KO_KEY, OPERATION_RESULT_OK_KEY, OPERATION_TYPE_ADD_KEY, OPERATION_TYPE_DELETE_KEY, OPERATION_TYPE_KEY, OPERATION_TYPE_UPDATE_KEY, OUTPUT_DATA_KEY, properties, REQUEST_KEY, RESPONSE_KEY, SERVICE_NAME_KEY, USER_DATA_IN_REQUEST_KEY, USER_PROFILE_IN_REQUEST_KEY
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
LogViewerDispatcherAction()
           
 
Method Summary
 java.lang.String myStatusExecute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.HashMap outputData)
          Must be implement by subclasses.
 
Methods inherited from class com.jfw.status.struts2.AdministrationAction
afterMyExecute, isAuthenticated, isAuthorized, myExecute
 
Methods inherited from class com.jfw.web.struts2.JFWAction
beforeMyExecute, execute, getLocale, getLocaleLanguage, getModel, getServletRequest, getServletResponse, getUser, initLocale, isSimulateAuthentication, isSimulateAuthorization, security, setLocale, setLocale, setServletRequest, setServletResponse, setUserDataInOutputData
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogViewerDispatcherAction

public LogViewerDispatcherAction()
Method Detail

myStatusExecute

public java.lang.String myStatusExecute(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        java.util.HashMap outputData)
                                 throws java.lang.Exception
Description copied from class: AdministrationAction
Must be implement by subclasses.

Specified by:
myStatusExecute in class AdministrationAction
Throws:
java.lang.Exception