Package org.apache.juneau.rest.converter
Class RestConverterList.Builder
java.lang.Object
org.apache.juneau.BeanBuilder<RestConverterList>
org.apache.juneau.rest.converter.RestConverterList.Builder
- Enclosing class:
RestConverterList
Builder class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(Class<? extends RestConverter>... values) Appends the specified rest matcher classes to the list.append
(RestConverter... values) Appends the specified rest matcher objects to the list.protected RestConverterList
Creates 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
-
Builder
Create an empty builder.- Parameters:
beanStore
- The bean store to use for creating beans.
-
-
Method Details
-
buildDefault
Description copied from class:BeanBuilder
Creates the bean when the bean type isnull or is the default value.- Overrides:
buildDefault
in classBeanBuilder<RestConverterList>
- Returns:
- A new bean.
-
append
Appends the specified rest matcher classes to the list.- Parameters:
values
- The values to add.- Returns:
- This object.
-
append
Appends the specified rest matcher objects to the list.- Parameters:
values
- The values to add.- Returns:
- This object.
-
impl
Description copied from class:BeanBuilder
Overrides the bean returned by theBeanBuilder.build()
method.Use this method if you want this builder to return an already-instantiated bean.
- Overrides:
impl
in classBeanBuilder<RestConverterList>
- Parameters:
value
- The setting value.- Returns:
- This object.
-
type
Description copied from class:BeanBuilder
Overrides the bean type produced by theBeanBuilder.build()
method.Use this method if you want to instantiated a bean subclass.
- Overrides:
type
in classBeanBuilder<RestConverterList>
- Parameters:
value
- The setting value.- Returns:
- This object.
-