Package org.apache.juneau.rest.processor
Class ResponseProcessorList.Builder
java.lang.Object
org.apache.juneau.BeanBuilder<ResponseProcessorList>
org.apache.juneau.rest.processor.ResponseProcessorList.Builder
- Enclosing class:
- ResponseProcessorList
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAppends the specified rest response processor classes to the list.add(ResponseProcessor... values) Appends the specified rest response processor objects to the list.protected ResponseProcessorListCreates the bean when the bean type isnull or is the default value.Overrides the bean returned by theBeanBuilder.build()method.Overrides the bean type produced by theBeanBuilder.build()method.
- 
Constructor Details- 
BuilderConstructor.- Parameters:
- beanStore- The bean store to use for creating beans.
 
 
- 
- 
Method Details- 
buildDefaultDescription copied from class:BeanBuilderCreates the bean when the bean type isnull or is the default value.- Overrides:
- buildDefaultin class- BeanBuilder<ResponseProcessorList>
- Returns:
- A new bean.
 
- 
addAppends the specified rest response processor classes to the list.- Parameters:
- values- The values to add.
- Returns:
- This object.
- Throws:
- IllegalArgumentException- if any class does not extend from- ResponseProcessor.
 
- 
addAppends the specified rest response processor objects to the list.- Parameters:
- values- The values to add.
- Returns:
- This object.
 
- 
implDescription copied from class:BeanBuilderOverrides the bean returned by theBeanBuilder.build()method.Use this method if you want this builder to return an already-instantiated bean. - Overrides:
- implin class- BeanBuilder<ResponseProcessorList>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
- 
typeDescription copied from class:BeanBuilderOverrides the bean type produced by theBeanBuilder.build()method.Use this method if you want to instantiated a bean subclass. - Overrides:
- typein class- BeanBuilder<ResponseProcessorList>
- Parameters:
- value- The setting value.
- Returns:
- This object.
 
 
-