Package org.apache.juneau.httppart.bean
Class ResponseBeanMeta
java.lang.Object
org.apache.juneau.httppart.bean.ResponseBeanMeta
Represents the metadata gathered from a parameter or class annotated with 
Response.
 See Also:
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic ResponseBeanMetacreate(Type t, AnnotationWorkList annotations) Create metadata from specified class.static ResponseBeanMetacreate(MethodInfo m, AnnotationWorkList annotations) Create metadata from specified method return.static ResponseBeanMetacreate(ParamInfo mpi, AnnotationWorkList annotations) Create metadata from specified method parameter.ClassMeta<?>Returns metadata about the class.intgetCode()Returns the HTTP status code.Returns the@Content -annotated method.Returns metadata about the@Header -annotated methods.Returns the part serializer to use to serialize this response.Returns all the annotated methods on this bean.getProperty(String name) Returns metadata about the bean property with the specified method getter name.Returns the schema information about the response object.Returns the@StatusCode -annotated method.
- 
Field Details- 
NULLRepresents a non-existent meta object.
 
- 
- 
Method Details- 
createCreate metadata from specified class.
- 
createCreate metadata from specified method return.
- 
createCreate metadata from specified method parameter.- Parameters:
- mpi- The method parameter.
- annotations- The annotations to apply to any new part serializers or parsers.
- Returns:
- Metadata about the class, or null if class not annotated withResponse.
 
- 
getCodeReturns the HTTP status code.- Returns:
- The HTTP status code.
 
- 
getSchemaReturns the schema information about the response object.- Returns:
- The schema information about the response object.
 
- 
getHeaderMethodsReturns metadata about the@Header -annotated methods.- Returns:
- Metadata about the @Header -annotated methods, or an empty collection if none exist.
 
- 
getContentMethodReturns the@Content -annotated method.- Returns:
- The @Content -annotated method, ornull if it doesn't exist.
 
- 
getStatusMethodReturns the@StatusCode -annotated method.- Returns:
- The @StatusCode -annotated method, ornull if it doesn't exist.
 
- 
getPartSerializerReturns the part serializer to use to serialize this response.- Returns:
- The part serializer to use to serialize this response.
 
- 
getClassMetaReturns metadata about the class.- Returns:
- Metadata about the class.
 
- 
getPropertyReturns metadata about the bean property with the specified method getter name.- Parameters:
- name- The bean method getter name.
- Returns:
- Metadata about the bean property, or null if none found.
 
- 
getPropertiesReturns all the annotated methods on this bean.- Returns:
- All the annotated methods on this bean.
 
 
-