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 classThe builder for this object. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<InterceptorMapping>A list of InterceptorMapping objectprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an InterceptorStackConfig object.protectedCreates an InterceptorStackConfig object with a particularname. -
Method Summary
Modifier 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.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 aCollectionof InterceptorMapping objects.- Returns:
- collection of interceptor mappings
-
getName
Get the name of this interceptor stack configuration.- Returns:
- String
-
equals
An InterceptorStackConfig object is equals withoonly if- o is an InterceptorStackConfig object
- both names are equals
- all of their
InterceptorMappings are equals
-
hashCode
public int hashCode() -
toString
-