|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
AbstractFieldValidatorDescriptionexecute() method.invocation context.
ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean) instead
ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean) instead
Action is executed.StrutsPrepareFilter and
StrutsExecuteFilter to use other Servlet filters that need access to
the ActionContextActionInvocation represents the execution state of an Action.ActionProxyFactory is used to create ActionProxys to be executed.#addContainerProvider()
LocationUtils.LocationFinder to the list of finders that will be queried for an object's
location by LocationUtils.getLocation(Object, String).
InterceptorMapping object.
InterceptorMapping objects.
PreResultListener to be notified after the Action is executed and
before the Result is executed.
operationMode is in 'STORE'.
alias(type, Container.DEFAULT_NAME,
type).
struts.properties where the altSyntax flag is defined.
ValidatorContext wrapper that
returns the full field name
AbstractActionValidatorManager.InternalValidatorContextWrapper
by consulting it's parent if its an VisitorFieldValidator.AppendingValidatorContext.ParameterFilterInterceptor.AnnotationUtils
Various utility methods dealing with annotationsAnnotationValidationConfigurationBuilderMap interface to handle a collection of attributes and
init parameters in a ServletContext object.F, resulting in an object
of type T.
method should be
apply (not filtered) depending on the set of excludeMethods and
includeMethods.
MethodFilterInterceptorUtil.applyMethod(Set, Set, String), except that excludeMethods
and includeMethods are supplied as comma separated string.
operationMode is 'RETRIEVE'.
Action execution and
before the Result execution.
Action class
are NOT permitted to be set from HttpRequest parameters.ObjectFactory.
ReferenceCache.create(Object).
String.toUpperCase(java.util.Locale).
methodName.
Unchainable.ConfigurationManager.clearContainerProviders()
String into an object
representing the pattern matchable by this class.
String into a int []
representing the pattern matchable by this class.
ActionMapper if the former
failed to obtained a valid ActionMapping or uri.TextProvider that takes in an array or List of TextProviders, it will
consult each of them in order to get a composite result.CompositeTextProvider with some predefined textProviders.
CompositeTextProvider with some predefined textProviders.
expression passed in against value stack.
ConditionalVisitorFieldValidator
<field name="colleaguePosition">
<field-validator type="fieldexpression" short-circuit="true">
reason == 'colleague' and colleaguePositionID == '_CHOOSE_'
<message>You must choose a position where you worked with this person,
or choose "Other..."</message>
</field-validator>
<field-validator type="conditionalvisitor">
reason == 'colleague' and colleaguePositionID == 'OTHER'
<message/>
</field-validator>
</field>ConfigurationException with no detail message.
ConfigurationException with the specified
detail message.
ConfigurationException with the specified
detail message.
ConfigurationException with no detail message.
ConfigurationException with no detail message.
ConfigurationException with the specified
detail message.
ConfigurationException with the specified
detail message.
Inject.Container.Container implementation.contains(type,
Container.DEFAULT_NAME).
obj2 exists in obj1.
ContainUtil will check if object 1 contains object 2.ConversionDescriptionConversionErrorFieldValidatorDescriptionConversionRuleConversionTypeXWorkConverter if none
is specified.
XWorkConverter if none
is specified.
XWorkConverter if none
is specified.
Container instance.
ReflectionContextState.CREATE_NULL_OBJECTS instead
instead
ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated.
ActionProxyFactory.createActionProxy(String,String,String,Map,boolean,boolean) instead
ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated.
ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including passed ActionInvocation instance.
Dispatcher that subclasses can override
with a custom Dispatcher, if needed.
Dispatcher
ValueStack
ValueStack
DateDirectiveDateModelDateRangeFieldValidatorDescriptionConfiguration.getTemplate(String, Locale) call.
ftl.
ActionProxyFactory.ValidatorContext wrapper that
returns the full field name
DefaultActionValidatorManager.InternalValidatorContextWrapper.getFullFieldName(String)
by consulting it's parent if its an VisitorFieldValidator.AppendingValidatorContext.DefaultSettings
to use when another implementation is not provided (plugged in).
ObjectTypeDeterminer looks at the Class-conversion.properties for entries that indicated what
objects are contained within Maps and Collections.struts.custom.properties),
and any custom message resources ().
Settings objects
to update settings or retrieve settings values.Settings objects.
ValidatorContext interface.ReflectionContextState.DENY_INDEXED_ACCESS_EXECUTION instead
ReflectionContextState.DENY_METHOD_EXECUTION instead
in using
referenceType and puts them in out.
ActionMapper.
ActionValidatorManager proper validate method.
HttpServletResponse.sendRedirect(String).
ActionInvocation and returns a inputResultName
when action / field errors is found registered.
DOMBuilder is a utility class that will generate a W3C
DOM Document from SAX events.DoubleRangeFieldValidatorDescriptionDefaultActionMapper.dropExtension(java.lang.String,org.apache.struts2.dispatcher.mapper.ActionMapping) instead
EmailValidatorDescriptiono only if
o is an InterceptorStackConfig object
both names are equals
all of their InterceptorMappings are equals
TokenHelper.DEFAULT_TOKEN_NAME
if no name is provided) so that the same token can be re-used for the scope of a request for the same name.
ExpressionValidatorDescriptionfactory(type,
Container.DEFAULT_NAME, factory, scope).
factory(type, name, factory,
Scope.DEFAULT).
factory(type,
Container.DEFAULT_NAME, factory, Scope.DEFAULT).
factory(type,
Container.DEFAULT_NAME, implementation).
factory(type,
Container.DEFAULT_NAME, type).
factory(type, name, type).
factory(type,
Container.DEFAULT_NAME, implementation, scope).
factory(type,
Container.DEFAULT_NAME, type, scope).
factory(type, name, type,
scope).
RuntimeException based on the given information.
FieldExpressionValidatorDescriptionMultiPartRequestWrapper, which is automatically applied for any request that
includes a file.StrutsPrepareAndExecuteFilter instead or
StrutsPrepareFilter and StrutsExecuteFilter
if needing using the ActionContextCleanUp filter in addition to this onefinalizeReferent() method which a
background thread invokes after the garbage collector reclaims the
referent.finalizeReferent() method which a background
thread invokes after the garbage collector reclaims the referent.finalizeReferent() method which a background
thread invokes after the garbage collector reclaims the referent.ActionMapping.
ActionMapping.
String's and returns them.
ResourceFinder.findString(String) assuming the contents URL found is the name of
a class that should be loaded and returned.
Inject annotation in an array of annotations.
Vector containing Strings which each name a file
who's name matches the pattern set by setPattern(String).
String's and returns it.
LocalizedTextUtil.findText(Class aClass, String aTextName, Locale locale, String defaultMessage, Object[] args)
with aTextName as the default message.
ReferenceCache.create(Object) has been overridden, this method will create a new
value, put it in the map, and return it.
LocationImpl from a Location.
Class get a collection of the the AnnotatedElements
that match the given annotations or if no annotations are
specified then return all of the annotated elements of the given Class.
ResultTypeConfig.getClassName() instead
FreemarkerResult.doExecute(String, ActionInvocation) to obtain the
FreeMarker configuration object that this result will use for template loading.
ConfigurationManager.getContainerProviders()
Container.
element.
Include.PageOutputStream.
ActionSupport.getActionErrors().
ActionSupport.getFieldErrors().
Throwable.printStackTrace().
name from object,
object should have the appropriate getter/setter.
File object for the filename specified or null if no files
are associated with the given field name.
File[] for the given input field name.
conversion.properties file name.
Settings.get(String) method.
ContainerBuilder.
getInstance(type,
DEFAULT_NAME).
Collection of InterceptorMapping objects.
Location of an element (SAX flavor).
Location of an element (DOM flavor).
getLocation(elem, null).
Settings.getLocation(String) method.
execute will be invoked).
Inject.value().
FreemarkerResult.doExecute(String, ActionInvocation) to obtain the
FreeMarker object wrapper object that this result will use for adapting objects into template
models.
Include.PageOutputStream
allowing all data written to stream to be stored in temporary buffer.
paramsElement and return them as
MapMethod in action.
org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future.
org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future.
allowRequestParameterSwitch
is 'true', else it simply returns 'NONE', meaning its neither in the 'STORE_MODE' nor
'RETRIEVE_MODE'.
ActionChainResult, this method
will walk down the chain of ActionChainResults until it finds a non-chain result, which will be returned.
Form component.
TextProviders and return the first valid message for this
key
TextProviders and return the first valid message for this
key before returning defaultValue if every else fails.
TextProviders and return the first valid message for this
key, before returining defaultValue
if every else fails.
TextProviders and return the first valid message for this
key.
TextProviders and return the first valid message for this
key.
TextProviders and return the first valid message for this
key, before returining defaultValue
TextProviders and return the first valid message for this
key, before returining defaultValue.
TextProviders and return the first valid message for this
key, before returining defaultValue
TextProviders and return the first valid message for this
key, before returining defaultValue
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or null if no message is found.
MessageFormat, or null if no message is found.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
MessageFormat, or, if the message is not found, a supplied
default value is returned.
TextProviderFactory,
inject dependency (if Container is accesible) into in,
then will create new TextProvider and store it in a field
for future references and at the returns reference to that field
TextProviders and return the first non-null ResourceBundle.
TextProviders and return the first non-null ResourceBundle.
Throwable.getCause()
InterceptorStackConfig's name and its
InterceptorMappings.
Include.PageOutputStream.getBuffer() .intercept , giving
the Interceptor a chance to initialize any needed resources.
implementation.
cookiesMap into action that implements
CookiesAware.
Container will inject static fields and methods
into the given classes.
ReflectionContextState.CREATE_NULL_OBJECTS is in the action context with a value of true (this key is set
only during the execution of the ParametersInterceptor), OGNL expressions
that have caused a NullPointerException will be temporarily stopped for evaluation while the system automatically
tries to solve the null references by automatically creating the object.ActionInvocation or to short-circuit the processing and just return a String return code.
paramNames and paramValues.
ApplicationContext under the attribute that the Spring listener sets in
the servlet context.
Filter and in AOP languages.InterceptorMappingname.
IntRangeFieldValidatorDescriptionInvalidMetadataExceptionInvalidMetadataException with the supplied error message.
actionInvocation's ActionProxy's
method with prefixes before invoking the prefixed method.
AnnotatedElement.isAnnotationPresent()
Iterator
.([.
Settings.isSet(String) method.
validate() should always be called or only per annotated method.
Settings.list() method.
struts.locale setting.
Locale from a String of the form en_US_foo into a Locale
with language "en", country "US" and variant "foo".
Locale.Locator as attributes.Location.Stack.
int [].
int [].
int [].
int [].
int [].
col1 and col2 and return the composite
Collection.
map1 and map2 and return the composite
Map
ValidationAware action's messages / errors and field errors into
HTTP Session, such that it will be retrieveable at a later stage.Interceptor used as
a base class for interceptors that will filter execution based on method
names according to specified included/excluded method lists.MethodFilterInterceptor.ActionInvocation.ActionProxy.Interceptor.Result.ModelDriven actions and adds the action's model on to the value stack.ReferenceCache delegating to the specified function.
page context.
uri:line:column" (e.g.
Action.SUCCESS, Action.INPUT, etc.
name given.
ActionMappers based on the request's prefix
You can specify different prefixes that will be handled by different mappers
ActionMappers based on the request's prefix
It is configured through struts.xml
For example, with the following entries in struts.propertiesprepare() method called if the PrepareInterceptor
is applied to the ActionConfig.prepare() on actions which implement
Preparable.ActionInvocation to get a callback after the
Action has been executed but before the Result
is executed.block of code subjected to profiling to be executed
and avoid the need of coding boiler code that does pushing (UtilTimeBean.push(...)) and
poping (UtilTimerBean.pop(...)) in a try ...
Method.invoke(java.lang.Object, java.lang.Object[]).
PropertiesReader and sets
the underlaying reader and the list delimiter.
name given.
Location.UNKNOWN.
ReferenceMap to support lazy loading values by overriding
ReferenceCache.create(Object).new ReferenceCache(STRONG, STRONG).
Map interface to handle a collection of request attributes.RequiredFieldValidatorDescriptionRequiredStringValidatorDescriptionAction.NONE) of an Action are mapped to a View implementation.servlet context object.
request dispatcher.
ActionMapper provided by the ActionMapperFactory to redirect the browser to a
URL that invokes the specified action and (optional) namespace.sendRedirect
method to the location specified.UrlRenderer interface that creates URLs suitable in a servlet environment.Map interface to handle a collection of HTTP session
attributes.ValueStack.findValue(String), ValueStack.findValue(String, Class)
preapare method should always be executed.
Validateable's validate() should always
be invoked.
#setContainerProvider()
cookiesName which if matched will allow the cookie
to be injected into action, could be comma-separated string.
cookiesValue which if matched (together with matching
cookiesName) will caused the cookie to be injected into action, could be
comma-separated string.
ClassLoader to look up the bundle from if none can be found on the current thread's classloader
key -> values that takes precedent when doing find operations on the ValueStack.
FilterDispatcher.filterConfig; this method
sets up the ServletContextSingleton with
the servlet context from the filter configuration.
prepareDoXXX method should be called first
Default is false for backward compatibility
conversion.properties file name.
Settings.set(String, String) method.
inputResultName (result name to be returned when
a action / field error is found registered).
TextFieldTag.setMaxlength(java.lang.String) instead
paramNames attribute to be set as comma-separated-values (csv).
paramValues attribute to be set as a comma-separated-values (csv).
Validateable's validate() should be called,
as well as methods whose name that start with "validate".
Settings.setInstance(org.apache.struts2.config.Settings) method.
validate() should always be called or only per annotated method.
InvocationSessionStore.loadInvocation(java.lang.String, java.lang.String)
StringLengthFieldValidatorDescriptionCompositeActionMapper to identify its containing ActionMapper class.
PatternMatcher implementation class
ReflectionContextFactory implementation class
ReflectionProvider implementation class
StaticContentLoader implementation class
UnknownHandlerManager implementation class
ValueStackFactory implementation class
ConversionErrorInterceptor but only adds conversion errors from the ActionContext to
the field errors of the action if the field value is not null, "", or {""} (a size 1 String array with only an empty
String).StrutsException with no detail message.
StrutsException with the specified
detail message.
StrutsException with the specified
detail message and target.
StrutsException with the root cause
StrutsException with the root cause and target
StrutsException with the specified
detail message and exception cause.
StrutsException with the specified
detail message, cause, and target
StrutsExecuteFilter filter instance.TextParseUtil.ResourceBundles and their underlying text messages.TokenInterceptor, providing advanced logic for handling invalid tokens.descripton - uri:line:column"
format (e.g.
/dir/theme/name.
TextParseUtil.translateVariables(java.lang.String, com.opensymphony.xwork2.util.ValueStack) and
encodes the URL using URLEncoder.encode(java.lang.String) with the encoding specified in the configuration.
expression to the value returned
by a call to ValueStack.findValue(java.lang.String).
TextParseUtil.translateVariables(char, String, ValueStack)
except for the introduction of an additional evaluator that allows
the parsed value to be evaluated by the evaluator.
expression to the value returned
by a call to ValueStack.findValue(java.lang.String).
XWorkException with no detail message.
XWorkException with the specified
detail message.
XWorkException with no detail message.
XWorkException with the specified
detail message.
String to a
Writer.
String.
String to a
Writer.
[unknown location]".
URLValidatorDescriptionException with no specified detail message.
Exception with the specified detail message.
ValidationAware).ValidationWorkflowAwareValidatorDescriptionValidatorTypeOGNL value stack.
JspFactory, this result mocks a JSP
execution environment and then displays a Velocity template that will be
streamed directly to the servlet output.VisitorFieldValidatorDescriptionXWorkException with no detail message.
XWorkException with the specified
detail message.
XWorkException with the specified
detail message and target.
XWorkException with the root cause
XWorkException with the root cause and target
XWorkException with the specified
detail message and exception cause.
XWorkException with the specified
detail message, cause, and target
ReflectionContextState.DENY_METHOD_EXECUTION
is in the action context with a value of true.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||