Class DefaultValueUtils

java.lang.Object
io.dropwizard.jersey.DefaultValueUtils

public final class DefaultValueUtils extends Object
  • Method Details

    • getDefaultValue

      public static @Nullable String getDefaultValue(Annotation[] annotations)
      Returns the value of the DefaultValue.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