Class ResponseProcessorList.Builder
java.lang.Object
org.apache.juneau.rest.server.processor.ResponseProcessorList.Builder
- Enclosing class:
- ResponseProcessorList
Builder class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends the specified rest response processor classes to the list.add(ResponseProcessor... values) Appends the specified rest response processor objects to the list.Returns the bean store used by this builder.build()Builds the list.
-
Constructor Details
-
Builder
Constructor.- Parameters:
beanStore- The bean store to use for creating beans.
-
-
Method Details
-
beanStore
Returns the bean store used by this builder.- Returns:
- The bean store used by this builder.
-
add
Appends the specified rest response processor classes to the list.Same-class deduplication is applied: if an entry of the same
Classalready exists in the list, the duplicate is silently skipped.- Parameters:
values- The values to add.
Must not benull .- Returns:
- This object.
- Throws:
IllegalArgumentException- if any class does not extend fromResponseProcessor.
-
add
Appends the specified rest response processor objects to the list.Same-class deduplication is applied: if an entry of the same
Classalready exists in the list, the duplicate is silently skipped.- Parameters:
values- The values to add.
Must not benull .- Returns:
- This object.
-
build
Builds the list.- Returns:
- A new
ResponseProcessorList.
-