Annotation Interface Optional


@Documented @Qualifier @Retention(SOURCE) @Target(PARAMETER) public @interface Optional
It indicates that a parameter of an ST service may be omitted in an HTTP request to that service. Since in Java all parameters must be assigned with arguments in a method invocation, the value of an omitted parameter is:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • defaultValue

      String defaultValue
      Default:
      ""