Class RestAnnotation

java.lang.Object
org.apache.juneau.rest.annotation.RestAnnotation

public class RestAnnotation extends Object
Utility classes and methods for the @Rest annotation.
See Also:
  • Field Details

    • DEFAULT

      public static final Rest DEFAULT
      Default value
  • Constructor Details

  • Method Details

    • create

      public static RestAnnotation.Builder create()
      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static RestAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      public static RestAnnotation.Builder create(String... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.