Annotation 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:
- the result from the conversion of
defaultValue()
to the parameter type, ifdefaultValue()
has been explicitly assigned a value - otherwise, the default value for the parameter type according to the rules for the default initialization of Java fields (http://docs.oracle .com/javase/tutorial/java/nutsandbolts/datatypes.html}
-
Optional Element Summary
Optional Elements
-
Element Details
-
defaultValue
String defaultValue- Default:
- ""
-