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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classThe builder for this object.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected List<InterceptorMapping>A list of InterceptorMapping objectprotected String
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreates an InterceptorStackConfig object.protectedCreates an InterceptorStackConfig object with a particularname.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanAn InterceptorStackConfig object is equals withoonly if o is an InterceptorStackConfig object both names are equals all of theirInterceptorMappings are equalsReturns aCollectionof InterceptorMapping objects.getName()Get the name of this interceptor stack configuration.inthashCode()toString()Methods inherited from class org.apache.struts2.util.location.LocatedgetLocation, setLocation
- 
Field Details- 
interceptorsA list of InterceptorMapping object
- 
name
 
- 
- 
Constructor Details- 
InterceptorStackConfigprotected InterceptorStackConfig()Creates an InterceptorStackConfig object.
- 
InterceptorStackConfigCreates an InterceptorStackConfig object with a particularname.- Parameters:
- orig- interceptor stack configuration
 
 
- 
- 
Method Details- 
getInterceptorsReturns aCollectionof InterceptorMapping objects.- Returns:
- collection of interceptor mappings
 
- 
getNameGet the name of this interceptor stack configuration.- Returns:
- String
 
- 
equalsAn InterceptorStackConfig object is equals withoonly if- o is an InterceptorStackConfig object
- both names are equals
- all of their InterceptorMappings are equals
 
- 
hashCodepublic int hashCode()
- 
toString
 
-