Annotation Type JSONP


  • @Target({ANNOTATION_TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface JSONP
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String prefix
      Prefix String used for JSONP if not empty: will be included verbatim before JSON value.
      java.lang.String suffix
      Suffix String used for JSONP if not empty: will be included verbatim after JSON value.
      java.lang.String value
      Method used for JSONP, unless prefix() or suffix() return non-empty Strings.
    • Element Detail

      • value

        java.lang.String value
        Method used for JSONP, unless prefix() or suffix() return non-empty Strings.
        Default:
        ""
      • prefix

        java.lang.String prefix
        Prefix String used for JSONP if not empty: will be included verbatim before JSON value.
        Default:
        ""
      • suffix

        java.lang.String suffix
        Suffix String used for JSONP if not empty: will be included verbatim after JSON value.
        Default:
        ""