Class InterceptorStackConfig
java.lang.Object
org.apache.struts2.util.location.Located
org.apache.struts2.config.entities.InterceptorStackConfig
- All Implemented Interfaces:
Serializable
,Locatable
Configuration for InterceptorStack.
In the xml configuration file this is defined as the interceptor-stack
tag.
- Author:
- Mike, Rainer Hermanns
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The builder for this object. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<InterceptorMapping>
A list of InterceptorMapping objectprotected String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates an InterceptorStackConfig object.protected
Creates an InterceptorStackConfig object with a particularname
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
An InterceptorStackConfig object is equals witho
only if o is an InterceptorStackConfig object both names are equals all of theirInterceptorMapping
s are equalsReturns aCollection
of InterceptorMapping objects.getName()
Get the name of this interceptor stack configuration.int
hashCode()
toString()
Methods inherited from class org.apache.struts2.util.location.Located
getLocation, setLocation
-
Field Details
-
interceptors
A list of InterceptorMapping object -
name
-
-
Constructor Details
-
InterceptorStackConfig
protected InterceptorStackConfig()Creates an InterceptorStackConfig object. -
InterceptorStackConfig
Creates an InterceptorStackConfig object with a particularname
.- Parameters:
orig
- interceptor stack configuration
-
-
Method Details
-
getInterceptors
Returns aCollection
of InterceptorMapping objects.- Returns:
- collection of interceptor mappings
-
getName
Get the name of this interceptor stack configuration.- Returns:
- String
-
equals
An InterceptorStackConfig object is equals witho
only if- o is an InterceptorStackConfig object
- both names are equals
- all of their
InterceptorMapping
s are equals
-
hashCode
public int hashCode() -
toString
-