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
-
beanContext
Associates an existing bean context builder with this part serializer.- Parameters:
value- The value for this setting.- Returns:
- This object.
-
copy
Description copied from class:ContextBeanCreatorCreates a new copy of this creator.- Overrides:
copyin classContextBeanCreator<HttpPartSerializer>- Returns:
- A new copy of this creator.
-
impl
Description copied from class:ContextBeanCreatorSets an already instantiated object on this creator.- Overrides:
implin classContextBeanCreator<HttpPartSerializer>- Parameters:
value- The bean to set.- Returns:
- This object.
-
type
Description copied from class:ContextBeanCreatorSets the implementation type of the bean.The class type must extend from
Contextand have a builder create method.- Overrides:
typein classContextBeanCreator<HttpPartSerializer>- Parameters:
value- The bean type.- Returns:
- This object.
-