Annotation Type ParametersMustBeNumbersIfPresent


@Retention(RUNTIME) @Target(TYPE) public @interface ParametersMustBeNumbersIfPresent
Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation. Specifies that the passed url parameters must be numbers (with the expressed constraints) if present or the request should be rejected with BAD REQUEST.
Author:
Tim Boudreau
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
     
  • Element Details

    • allowDecimal

      boolean allowDecimal
      Default:
      false
    • allowNegative

      boolean allowNegative
      Default:
      true