Class RequestBeanMeta

java.lang.Object
org.apache.juneau.httppart.bean.RequestBeanMeta

public class RequestBeanMeta extends Object
Represents the metadata gathered from a parameter or class annotated with Request.
See Also:
  • Method Details

    • create

      public static RequestBeanMeta create(ParamInfo mpi, AnnotationWorkList annotations)
      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 with Request.
    • create

      public static RequestBeanMeta create(Class<?> c, AnnotationWorkList annotations)
      Create metadata from specified class.
      Parameters:
      c - The class annotated with Request.
      annotations - The annotations to apply to any new part serializers or parsers.
      Returns:
      Metadata about the class, or null if class not annotated with Request.
    • getClassMeta

      public ClassMeta<?> 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.