Package io.dropwizard.jersey
Class DefaultValueUtils
java.lang.Object
io.dropwizard.jersey.DefaultValueUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StringgetDefaultValue(Annotation[] annotations) Returns the value of theDefaultValue.value()if found in annotations.
-
Method Details
-
getDefaultValue
Returns the value of theDefaultValue.value()if found in annotations.- Parameters:
annotations- Array of annotations (can be null).- Returns:
- Value of
DefaultValue.value()if found, otherwise null. - Since:
- 2.0
-