Annotation Interface WrapWith


@Target({METHOD,PARAMETER}) @Retention(RUNTIME) public @interface WrapWith
Wraps the payload in json nested one level deep, relating to the value parameter. ex. "bar" becomes { "foo" :"bar" }
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    what to wrap the value in
  • Element Details

    • value

      String value
      what to wrap the value in