Package org.apache.juneau.httppart.bean
Class RequestBeanMeta
java.lang.Object
org.apache.juneau.httppart.bean.RequestBeanMeta
Represents the metadata gathered from a parameter or class annotated with
Request
.
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestBeanMeta
create
(Class<?> c, AnnotationWorkList annotations) Create metadata from specified class.static RequestBeanMeta
create
(ParamInfo mpi, AnnotationWorkList annotations) Create metadata from specified parameter.ClassMeta<?>
Returns metadata about the class.Returns all the annotated methods on this bean.getProperty
(String name) Returns metadata about the bean property with the specified property name.
-
Method Details
-
create
Create metadata from specified parameter.- Parameters:
mpi
- The method parameter.annotations
- The annotations to apply to any new part serializers or parsers.- Returns:
- Metadata about the parameter, or
null if parameter or parameter type not annotated withRequest
.
-
create
Create metadata from specified class. -
getClassMeta
Returns metadata about the class.- Returns:
- Metadata about the class.
-
getProperty
Returns metadata about the bean property with the specified property name.- Parameters:
name
- The bean property name.- Returns:
- Metadata about the bean property, or
null if none found.
-
getProperties
Returns all the annotated methods on this bean.- Returns:
- All the annotated methods on this bean.
-