public class RequestBeanMeta extends Object
Request
.Modifier and Type | Method and Description |
---|---|
static RequestBeanMeta |
create(Class<?> c,
PropertyStore ps)
Create metadata from specified class.
|
static RequestBeanMeta |
create(Method m,
int i,
PropertyStore ps)
Create metadata from specified parameter.
|
ClassMeta<?> |
getClassMeta()
Returns metadata about the class.
|
Collection<RequestBeanPropertyMeta> |
getProperties()
Returns all the annotated methods on this bean.
|
RequestBeanPropertyMeta |
getProperty(String name)
Returns metadata about the bean property with the specified property name.
|
public static RequestBeanMeta create(Method m, int i, PropertyStore ps)
m
- The method containing the parameter or parameter type annotated with Request
.i
- The parameter index.ps
- Configuration information used to instantiate part serializers and part parsers.
Request
.public static RequestBeanMeta create(Class<?> c, PropertyStore ps)
public ClassMeta<?> getClassMeta()
public RequestBeanPropertyMeta getProperty(String name)
name
- The bean property name.public Collection<RequestBeanPropertyMeta> getProperties()
Copyright © 2018 Apache. All rights reserved.