public static class InterceptorStackConfig.Builder extends Object implements InterceptorListHolder
build()
method to create the object.Modifier and Type | Field and Description |
---|---|
protected InterceptorStackConfig |
target |
Modifier and Type | Method and Description |
---|---|
InterceptorStackConfig.Builder |
addInterceptor(InterceptorMapping interceptor)
Add an
InterceptorMapping object. |
InterceptorStackConfig.Builder |
addInterceptors(List<InterceptorMapping> interceptors)
Add a List of
InterceptorMapping objects. |
InterceptorStackConfig |
build() |
protected void |
embalmTarget() |
InterceptorStackConfig.Builder |
location(Location loc) |
InterceptorStackConfig.Builder |
name(String name) |
protected InterceptorStackConfig target
public Builder(String name)
public InterceptorStackConfig.Builder name(String name)
public InterceptorStackConfig.Builder addInterceptor(InterceptorMapping interceptor)
InterceptorMapping
object.addInterceptor
in interface InterceptorListHolder
interceptor
- interceptor mappingpublic InterceptorStackConfig.Builder addInterceptors(List<InterceptorMapping> interceptors)
InterceptorMapping
objects.addInterceptors
in interface InterceptorListHolder
interceptors
- list of interceptor mappingspublic InterceptorStackConfig.Builder location(Location loc)
public InterceptorStackConfig build()
protected void embalmTarget()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.