Class InterceptorStackConfig.Builder
java.lang.Object
org.apache.struts2.config.entities.InterceptorStackConfig.Builder
- All Implemented Interfaces:
- InterceptorListHolder
- Enclosing class:
- InterceptorStackConfig
The builder for this object.  An instance of this object is the only way to construct a new instance.  The
 purpose is to enforce the immutability of the object.  The methods are structured in a way to support chaining.
 After setting any values you need, call the 
build() method to create the object.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddInterceptor(InterceptorMapping interceptor) Add anInterceptorMappingobject.addInterceptors(List<InterceptorMapping> interceptors) Add a List ofInterceptorMappingobjects.build()protected void
- 
Field Details- 
target
 
- 
- 
Constructor Details- 
Builder
 
- 
- 
Method Details- 
name
- 
addInterceptorAdd anInterceptorMappingobject.- Specified by:
- addInterceptorin interface- InterceptorListHolder
- Parameters:
- interceptor- interceptor mapping
- Returns:
- this builder
 
- 
addInterceptorsAdd a List ofInterceptorMappingobjects.- Specified by:
- addInterceptorsin interface- InterceptorListHolder
- Parameters:
- interceptors- list of interceptor mappings
- Returns:
- this builder
 
- 
location
- 
build
- 
embalmTargetprotected void embalmTarget()
 
-