Uses of Interface
org.apache.struts2.ActionInvocation
Packages that use ActionInvocation
Package
Description
Main XWork interfaces and classes.
Classes for Struts configuration and property handling.
Interceptor classes.
Interceptor annotations.
XWork specific mock classes.
XWork util classes.
XWork validation subsystem.
-
Uses of ActionInvocation in org.apache.struts2
Classes in org.apache.struts2 that implement ActionInvocationModifier and TypeClassDescriptionclassThe Default ActionInvocation implementationFields in org.apache.struts2 declared as ActionInvocationMethods in org.apache.struts2 that return ActionInvocationModifier and TypeMethodDescriptionprotected ActionInvocationDefaultActionProxyFactory.createActionInvocation(Map<String, Object> extraContext, boolean pushAction) ActionContext.getActionInvocation()Gets the action invocation (the execution state).ActionProxy.getInvocation()DefaultActionProxy.getInvocation()Methods in org.apache.struts2 with parameters of type ActionInvocationModifier and TypeMethodDescriptionActionProxyFactory.createActionProxy(ActionInvocation actionInvocation, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) Creates anActionProxyfor the given namespace and action name by looking up the configuration.The ActionProxy should be fully initialized when it is returned, including passedActionInvocationinstance.DefaultActionProxyFactory.createActionProxy(ActionInvocation inv, String namespace, String actionName, boolean executeResult, boolean cleanupContext) DefaultActionProxyFactory.createActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) ActionContext.withActionInvocation(ActionInvocation actionInvocation) Sets the action invocation (the execution state).Constructors in org.apache.struts2 with parameters of type ActionInvocationModifierConstructorDescriptionprotectedDefaultActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) This constructor is private so the builder methods (create*) should be used to create an DefaultActionProxy. -
Uses of ActionInvocation in org.apache.struts2.config
Methods in org.apache.struts2.config with parameters of type ActionInvocation -
Uses of ActionInvocation in org.apache.struts2.factory
Methods in org.apache.struts2.factory with parameters of type ActionInvocationModifier and TypeMethodDescriptionStrutsActionProxyFactory.createActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) Constructors in org.apache.struts2.factory with parameters of type ActionInvocationModifierConstructorDescriptionStrutsActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) -
Uses of ActionInvocation in org.apache.struts2.interceptor
Fields in org.apache.struts2.interceptor declared as ActionInvocationModifier and TypeFieldDescriptionprotected ActionInvocationI18nInterceptor.RequestLocaleHandler.actionInvocationMethods in org.apache.struts2.interceptor with parameters of type ActionInvocationModifier and TypeMethodDescriptionprotected voidScopeInterceptor.after(ActionInvocation invocation, String result) protected booleanMethodFilterInterceptor.applyInterceptor(ActionInvocation invocation) protected voidMessageStoreInterceptor.before(ActionInvocation invocation) Handle the retrieving of field errors / action messages / field errors, which is done before action invocation, and theoperationModeis 'RETRIEVE'.protected voidScopeInterceptor.before(ActionInvocation invocation) voidCoepInterceptor.beforeResult(ActionInvocation invocation, String resultCode) voidCookieProviderInterceptor.beforeResult(ActionInvocation invocation, String resultCode) voidCoopInterceptor.beforeResult(ActionInvocation invocation, String resultCode) voidMessageStorePreResultListener.beforeResult(ActionInvocation invocation, String resultCode) voidModelDrivenInterceptor.RefreshModelBeforeResult.beforeResult(ActionInvocation invocation, String resultCode) voidPreResultListener.beforeResult(ActionInvocation invocation, String resultCode) voidScopeInterceptor.beforeResult(ActionInvocation invocation, String resultCode) protected MessageStorePreResultListenerMessageStoreInterceptor.createPreResultListener(ActionInvocation invocation) ConversionErrorInterceptor.doIntercept(ActionInvocation invocation) protected StringDefaultWorkflowInterceptor.doIntercept(ActionInvocation invocation) InterceptActionInvocationand returns ainputResultNamewhen action / field errors is found registered.protected StringExecuteAndWaitInterceptor.doIntercept(ActionInvocation actionInvocation) protected abstract StringMethodFilterInterceptor.doIntercept(ActionInvocation invocation) Subclasses must override to implement the interceptor logic.PrepareInterceptor.doIntercept(ActionInvocation invocation) protected StringTokenInterceptor.doIntercept(ActionInvocation invocation) protected ParameterI18nInterceptor.findLocaleParameter(ActionInvocation invocation, String parameterName) protected StringTokenInterceptor.getErrorMessage(ActionInvocation invocation) protected I18nInterceptor.LocaleHandlerI18nInterceptor.getLocaleHandler(ActionInvocation invocation) Override this method to use your own implementation ofI18nInterceptor.LocaleHandlerprotected BackgroundProcessExecuteAndWaitInterceptor.getNewBackgroundProcess(String name, ActionInvocation actionInvocation, int threadPriority) Creates a new background processprotected ObjectConversionErrorInterceptor.getOverrideExpr(ActionInvocation invocation, Object value) protected ObjectStrutsConversionErrorInterceptor.getOverrideExpr(ActionInvocation invocation, Object value) protected StringMessageStoreInterceptor.getRequestOperationMode(ActionInvocation invocation) Get the operationMode through request parameter, ifallowRequestParameterSwitchis 'true', else it simply returns 'NONE', meaning its neither in the 'STORE_MODE' nor 'RETRIEVE_MODE'.protected StringTokenInterceptor.handleInvalidToken(ActionInvocation invocation) Determines what to do if an invalid token is provided.protected StringTokenSessionStoreInterceptor.handleInvalidToken(ActionInvocation invocation) Handles processing of invalid tokens.protected StringRolesInterceptor.handleRejection(ActionInvocation invocation, jakarta.servlet.http.HttpServletResponse response) Handles a rejection by sending a 403 HTTP errorprotected StringTokenInterceptor.handleToken(ActionInvocation invocation) protected StringTokenSessionStoreInterceptor.handleToken(ActionInvocation invocation) protected StringTokenInterceptor.handleValidToken(ActionInvocation invocation) Called when a valid token is found.protected StringTokenSessionStoreInterceptor.handleValidToken(ActionInvocation invocation) Handles processing of valid tokens.abstract StringAbstractInterceptor.intercept(ActionInvocation invocation) Override to handle interceptionActionFileUploadInterceptor.intercept(ActionInvocation invocation) AliasInterceptor.intercept(ActionInvocation invocation) ChainingInterceptor.intercept(ActionInvocation invocation) CheckboxInterceptor.intercept(ActionInvocation ai) ClearSessionInterceptor.intercept(ActionInvocation invocation) CoepInterceptor.intercept(ActionInvocation invocation) CookieInterceptor.intercept(ActionInvocation invocation) CookieProviderInterceptor.intercept(ActionInvocation invocation) CoopInterceptor.intercept(ActionInvocation invocation) CreateSessionInterceptor.intercept(ActionInvocation invocation) DateTextFieldInterceptor.intercept(ActionInvocation ai) ExceptionMappingInterceptor.intercept(ActionInvocation invocation) FetchMetadataInterceptor.intercept(ActionInvocation invocation) I18nInterceptor.intercept(ActionInvocation invocation) Interceptor.intercept(ActionInvocation invocation) Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the request by theActionInvocationor to short-circuit the processing and just return a String return code.LoggingInterceptor.intercept(ActionInvocation invocation) MessageStoreInterceptor.intercept(ActionInvocation invocation) MethodFilterInterceptor.intercept(ActionInvocation invocation) ModelDrivenInterceptor.intercept(ActionInvocation invocation) MultiselectInterceptor.intercept(ActionInvocation ai) Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor.NoOpInterceptor.intercept(ActionInvocation invocation) ParameterRemoverInterceptor.intercept(ActionInvocation invocation) Decide if the parameter should be removed from the parameter map based onparamNamesandparamValues.RolesInterceptor.intercept(ActionInvocation invocation) ScopedModelDrivenInterceptor.intercept(ActionInvocation invocation) ScopeInterceptor.intercept(ActionInvocation invocation) ServletConfigInterceptor.intercept(ActionInvocation invocation) Sets action properties based on the interfaces an action implements.StaticParametersInterceptor.intercept(ActionInvocation invocation) static voidPrefixMethodInvocationUtil.invokePrefixMethod(ActionInvocation actionInvocation, String[] prefixes) This method will prefixactionInvocation'sActionProxy'smethodwithprefixesbefore invoking the prefixed method.protected booleanMessageStorePreResultListener.isRedirect(ActionInvocation invocation, String resultCode) protected voidExceptionMappingInterceptor.publishException(ActionInvocation invocation, ExceptionHolder exceptionHolder) Default implementation to handle ExceptionHolder publishing.I18nInterceptor.CookieLocaleHandler.read(ActionInvocation invocation) I18nInterceptor.LocaleHandler.read(ActionInvocation invocation) I18nInterceptor.RequestLocaleHandler.read(ActionInvocation invocation) I18nInterceptor.SessionLocaleHandler.read(ActionInvocation invocation) booleanAbstractInterceptor.shouldIntercept(ActionInvocation invocation) booleanConditionalInterceptor.shouldIntercept(ActionInvocation invocation) Determines if a given interceptor should be executed in the current processing of action invocation.I18nInterceptor.CookieLocaleHandler.store(ActionInvocation invocation, Locale locale) I18nInterceptor.LocaleHandler.store(ActionInvocation invocation, Locale locale) I18nInterceptor.RequestLocaleHandler.store(ActionInvocation invocation, Locale locale) I18nInterceptor.SessionLocaleHandler.store(ActionInvocation invocation, Locale locale) protected voidI18nInterceptor.useLocale(ActionInvocation invocation, Locale locale) Save the given locale to the ActionInvocation.Constructors in org.apache.struts2.interceptor with parameters of type ActionInvocationModifierConstructorDescriptionprotectedAcceptLanguageLocaleHandler(ActionInvocation invocation) protectedCookieLocaleHandler(ActionInvocation invocation) protectedRequestLocaleHandler(ActionInvocation invocation) protectedSessionLocaleHandler(ActionInvocation invocation) -
Uses of ActionInvocation in org.apache.struts2.interceptor.annotations
Methods in org.apache.struts2.interceptor.annotations with parameters of type ActionInvocationModifier and TypeMethodDescriptionvoidAnnotationWorkflowInterceptor.beforeResult(ActionInvocation invocation, String resultCode) Invokes any @BeforeResult annotated methodsAnnotationWorkflowInterceptor.intercept(ActionInvocation invocation) Discovers annotated methods on the action and calls them according to the workflow -
Uses of ActionInvocation in org.apache.struts2.interceptor.csp
Methods in org.apache.struts2.interceptor.csp with parameters of type ActionInvocation -
Uses of ActionInvocation in org.apache.struts2.interceptor.debugging
Methods in org.apache.struts2.interceptor.debugging with parameters of type ActionInvocation -
Uses of ActionInvocation in org.apache.struts2.interceptor.exec
Fields in org.apache.struts2.interceptor.exec declared as ActionInvocationMethods in org.apache.struts2.interceptor.exec that return ActionInvocationModifier and TypeMethodDescriptionBackgroundProcess.getInvocation()StrutsBackgroundProcess.getInvocation()Retrieves the action invocation.Constructors in org.apache.struts2.interceptor.exec with parameters of type ActionInvocationModifierConstructorDescriptionStrutsBackgroundProcess(ActionInvocation invocation, String threadName, int threadPriority) Constructs a background process -
Uses of ActionInvocation in org.apache.struts2.interceptor.httpmethod
Methods in org.apache.struts2.interceptor.httpmethod with parameters of type ActionInvocationModifier and TypeMethodDescriptionprotected StringHttpMethodInterceptor.doIntercept(ActionInvocation invocation, AnnotatedElement element) protected StringHttpMethodInterceptor.getBadRequestResultName(ActionInvocation invocation) HttpMethodInterceptor.intercept(ActionInvocation invocation) -
Uses of ActionInvocation in org.apache.struts2.interceptor.parameter
Methods in org.apache.struts2.interceptor.parameter with parameters of type ActionInvocation -
Uses of ActionInvocation in org.apache.struts2.interceptor.validation
Methods in org.apache.struts2.interceptor.validation with parameters of type ActionInvocationModifier and TypeMethodDescriptionprotected StringAnnotationValidationInterceptor.doIntercept(ActionInvocation invocation) -
Uses of ActionInvocation in org.apache.struts2.mock
Classes in org.apache.struts2.mock that implement ActionInvocationMethods in org.apache.struts2.mock that return ActionInvocationMethods in org.apache.struts2.mock with parameters of type ActionInvocationModifier and TypeMethodDescriptionvoidMockResult.execute(ActionInvocation invocation) MockInterceptor.intercept(ActionInvocation invocation) Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the request by the DefaultActionInvocation or to short-circuit the processing and just return a String return code.voidMockActionProxy.setInvocation(ActionInvocation invocation) -
Uses of ActionInvocation in org.apache.struts2.result
Methods in org.apache.struts2.result with parameters of type ActionInvocationModifier and TypeMethodDescriptionprotected StringStrutsResultSupport.conditionalParse(String param, ActionInvocation invocation) Parses the parameter for OGNL expressions against the valuestackprotected Collection<String>StrutsResultSupport.conditionalParseCollection(String param, ActionInvocation invocation, boolean excludeEmptyElements) AsStrutsResultSupport.conditionalParse(String, ActionInvocation)but does not convert found object into String.protected voidPlainTextResult.doExecute(String finalLocation, ActionInvocation invocation) protected voidPostbackResult.doExecute(String finalLocation, ActionInvocation invocation) voidServletDispatcherResult.doExecute(String finalLocation, ActionInvocation invocation) Dispatches to the given location.protected voidServletRedirectResult.doExecute(String finalLocation, ActionInvocation invocation) Redirects to the location specified by callingHttpServletResponse.sendRedirect(String).protected voidStreamResult.doExecute(String finalLocation, ActionInvocation invocation) protected abstract voidStrutsResultSupport.doExecute(String finalLocation, ActionInvocation invocation) Executes the result given a final location (jsp page, action, etc) and the action invocation (the state in which the action was executed).voidActionChainResult.execute(ActionInvocation invocation) voidHttpHeaderResult.execute(ActionInvocation invocation) Sets the optional HTTP response status code and also re-sets HTTP headers after they've been optionally evaluated against the ValueStack.default voidPlainResult.execute(ActionInvocation invocation) voidPostbackResult.execute(ActionInvocation invocation) voidResult.execute(ActionInvocation invocation) Represents a generic interface for all action execution results.voidServletActionRedirectResult.execute(ActionInvocation invocation) voidServletRedirectResult.execute(ActionInvocation invocation) voidStrutsResultSupport.execute(ActionInvocation invocation) Implementation of the execute method from the Result interface.protected HttpParametersServletDispatcherResult.getParameters(ActionInvocation invocation) protected StringPostbackResult.makePostbackUri(ActionInvocation invocation) protected InputStreamPlainTextResult.readStream(ActionInvocation invocation, String location) -
Uses of ActionInvocation in org.apache.struts2.util
Methods in org.apache.struts2.util that return ActionInvocationModifier and TypeMethodDescriptionstatic ActionInvocationInvocationSessionStore.loadInvocation(String key, String token) Checks the Map in the Session for the key and the token.Methods in org.apache.struts2.util with parameters of type ActionInvocationModifier and TypeMethodDescriptionstatic voidInvocationSessionStore.storeInvocation(String key, String token, ActionInvocation invocation) Stores the DefaultActionInvocation and ActionContext into the Session using the provided key for loading later usingInvocationSessionStore.loadInvocation(java.lang.String, java.lang.String) -
Uses of ActionInvocation in org.apache.struts2.validator
Methods in org.apache.struts2.validator with parameters of type ActionInvocationModifier and TypeMethodDescriptionprotected voidValidationInterceptor.doBeforeInvocation(ActionInvocation invocation) Gets the current action and its context and delegates toActionValidatorManagerproper validate method.protected StringValidationInterceptor.doIntercept(ActionInvocation invocation) -
Uses of ActionInvocation in org.apache.struts2.views.freemarker
Fields in org.apache.struts2.views.freemarker declared as ActionInvocationMethods in org.apache.struts2.views.freemarker with parameters of type ActionInvocationModifier and TypeMethodDescriptionvoidFreemarkerResult.doExecute(String locationArg, ActionInvocation invocation) Execute this result, using the specified template locationArg.