|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractFieldValidatorDescription
execute()
method.invocation
context.
ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean)
instead
ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean)
instead
Action
is executed.FilterDispatcher
and allow
for easier integration with SiteMesh.ActionInvocation
represents the execution state of an Action
.ActionProxyFactory
is used to create ActionProxy
s 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)
.
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.
AnnotationUtils
Various utility methods dealing with annotationsAnnotationValidationConfigurationBuilder
Map
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.
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.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.ConversionDescription
ConversionErrorFieldValidatorDescription
ConversionRule
ConversionType
XWorkConverter
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.
ValueStack
ValueStack
DateDirective
DateModel
DateRangeFieldValidatorDescription
Configuration.getTemplate(String, Locale)
call.
ftl
.
ActionProxyFactory
.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.DoubleRangeFieldValidatorDescription
DefaultActionMapper.dropExtension(java.lang.String,org.apache.struts2.dispatcher.mapper.ActionMapping)
instead
EmailValidatorDescription
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.
ExpressionValidatorDescription
factory(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.
FieldExpressionValidatorDescription
MultiPartRequestWrapper
, which is automatically applied for any request that
includes a file.ActionContext
(see note)
Serving static content
Kicking off XWork's interceptor chain for the request lifecycle
IMPORTANT: this filter must be mapped to all requests.FilterDispatcher
.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.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.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).
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 AnnotatedElement
s
that match the given annotation
s or if no annotation
s 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
.
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)
.
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.
Method
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 ActionChainResult
s until it finds a non-chain result, which will be returned.
Form
component.
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.
Throwable.getCause()
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.InterceptorMapping
IntRangeFieldValidatorDescription
InvalidMetadataException
InvalidMetadataException
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.string
, or defaultString
if
string
is null
or ""
.
string
, or ""
if string
is null
.
ReferenceCache
delegating to the specified function
.
page context
.
uri:line:column
" (e.g.
Action.SUCCESS
, Action.INPUT
, etc.
name
given.
prepare()
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.RequiredFieldValidatorDescription
RequiredStringValidatorDescription
Action.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 matche 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.
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.
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)
StringLengthFieldValidatorDescription
string
has been set to
something other than ""
or null
.
CompositeActionMapper
to identify its containing ActionMapper
class.
PatternMatcher
implementation class
ReflectionContextFactory
implementation class
ReflectionProvider
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
TextParseUtil
.ResourceBundle
s 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]
".
URLValidatorDescription
Exception
with no specified detail message.
Exception
with the specified detail message.
ValidationAware
).ValidatorDescription
ValidatorType
OGNL 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.VisitorFieldValidatorDescription
XWorkException
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 |