Package org.apache.juneau.httppart
Class HttpPartParser.Creator
java.lang.Object
org.apache.juneau.cp.ContextBeanCreator<HttpPartParser>
org.apache.juneau.httppart.HttpPartParser.Creator
- Enclosing interface:
HttpPartParser
A creator for a part parser.
-
Method Summary
Modifier and TypeMethodDescriptionbeanContext
(BeanContext.Builder value) Associates an existing bean context builder with this part parser.copy()
Creates a new copy of this creator.Sets an already instantiated object on this creator.type
(Class<? extends HttpPartParser> 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<HttpPartParser>
- 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<HttpPartParser>
- 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<HttpPartParser>
- Returns:
- A new copy of this creator.
-
beanContext
Associates an existing bean context builder with this part parser.- Parameters:
value
- The value for this setting.- Returns:
- This object.
-