Package org.springframework.boot.convert
Annotation Interface Delimiter
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,ANNOTATION_TYPE})
public @interface Delimiter
Declares a field or method parameter should be converted to collection using the
specified delimiter.
- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Required Element Summary
-
Field Summary
-
Field Details
-
NONE
A delimiter value used to indicate that no delimiter is required and the result should be a single element containing the entire string.- See Also:
-
-
Element Details
-
value
String valueThe delimiter to use orNONE
if the entire contents should be treated as a single element.- Returns:
- the delimiter
-