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
-
beanContext
Associates an existing bean context builder with this part parser.- 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<HttpPartParser>- Returns:
- A new copy of this creator.
-
impl
Description copied from class:ContextBeanCreatorSets an already instantiated object on this creator.- Overrides:
implin classContextBeanCreator<HttpPartParser>- 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<HttpPartParser>- Parameters:
value- The bean type.- Returns:
- This object.
-