Package org.apache.juneau.httppart
Class HttpPartSerializer.Creator
java.lang.Object
org.apache.juneau.cp.ContextBeanCreator<HttpPartSerializer>
org.apache.juneau.httppart.HttpPartSerializer.Creator
- Enclosing interface:
HttpPartSerializer
A creator for a part serializer.
-
Method Summary
Modifier and TypeMethodDescriptionbeanContext
(BeanContext.Builder value) Associates an existing bean context builder with this part serializer.copy()
Creates a new copy of this creator.Sets an already instantiated object on this creator.type
(Class<? extends HttpPartSerializer> value) Sets the implementation type of the bean.
-
Method Details
-
impl
Description copied from class:ContextBeanCreator
Sets an already instantiated object on this creator.- Overrides:
impl
in classContextBeanCreator<HttpPartSerializer>
- Parameters:
value
- The bean to set.- Returns:
- This object.
-
type
Description copied from class:ContextBeanCreator
Sets the implementation type of the bean.The class type must extend from
Context
and have a builder create method.- Overrides:
type
in classContextBeanCreator<HttpPartSerializer>
- Parameters:
value
- The bean type.- Returns:
- This object.
-
copy
Description copied from class:ContextBeanCreator
Creates a new copy of this creator.- Overrides:
copy
in classContextBeanCreator<HttpPartSerializer>
- Returns:
- A new copy of this creator.
-
beanContext
Associates an existing bean context builder with this part serializer.- Parameters:
value
- The value for this setting.- Returns:
- This object.
-