Annotation Type AcceptsJson


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface AcceptsJson
    For algorithm development, labels an apply method indicating it should be passed in the raw/unparsed JSON input from the user. If the user did not call the algorithm with a JSON content-type, this apply method will not be called. Note: You can only have a single apply method if you use @AcceptsJson