Annotation Interface UrlSegment


@Target(TYPE_USE) @Retention(RUNTIME) public @interface UrlSegment
An annotation that applies to String and limits the character set of the annotated type to valid URL segment characters, as described in RFC 3986, appendix A.
Can be combined with WithUtf8Length to limit the length of the generated string.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines the scope of the annotation.
  • Element Details

    • constraint

      String constraint
      Defines the scope of the annotation. Possible values are defined in PropertyConstraint.
      Default:
      "JAZZER_PROPERTY_CONSTRAINT_DECLARATION"