public class ResponseBeanMeta extends Object
Response
.Modifier and Type | Field and Description |
---|---|
static ResponseBeanMeta |
NULL
Represents a non-existent meta object.
|
Modifier and Type | Method and Description |
---|---|
static ResponseBeanMeta |
create(Method m,
int i,
PropertyStore ps)
Create metadata from specified method parameter.
|
static ResponseBeanMeta |
create(Method m,
PropertyStore ps)
Create metadata from specified method return.
|
static ResponseBeanMeta |
create(Type t,
PropertyStore ps)
Create metadata from specified class.
|
ResponseBeanPropertyMeta |
getBodyMethod()
Returns the
|
ClassMeta<?> |
getClassMeta()
Returns metadata about the class.
|
int |
getCode()
Returns the HTTP status code.
|
Collection<ResponseBeanPropertyMeta> |
getHeaderMethods()
Returns metadata about the
|
HttpPartSerializer |
getPartSerializer()
Returns the part serializer to use to serialize this response.
|
Collection<ResponseBeanPropertyMeta> |
getProperties()
Returns all the annotated methods on this bean.
|
ResponseBeanPropertyMeta |
getProperty(String name)
Returns metadata about the bean property with the specified method getter name.
|
HttpPartSchema |
getSchema()
Returns the schema information about the response object.
|
ResponseBeanPropertyMeta |
getStatusMethod()
Returns the
|
public static ResponseBeanMeta NULL
public static ResponseBeanMeta create(Type t, PropertyStore ps)
public static ResponseBeanMeta create(Method m, PropertyStore ps)
public static ResponseBeanMeta create(Method m, int i, PropertyStore ps)
public int getCode()
public HttpPartSchema getSchema()
public Collection<ResponseBeanPropertyMeta> getHeaderMethods()
public ResponseBeanPropertyMeta getBodyMethod()
public ResponseBeanPropertyMeta getStatusMethod()
public HttpPartSerializer getPartSerializer()
public ClassMeta<?> getClassMeta()
public ResponseBeanPropertyMeta getProperty(String name)
name
- The bean method getter name.public Collection<ResponseBeanPropertyMeta> getProperties()
Copyright © 2018 Apache. All rights reserved.