Annotation Interface Callback


@Retention(RUNTIME) @Target(PARAMETER) public @interface Callback
This annotation marks a parameter as callback having a callback interface and an URL where the callback is expected. The corresponding operation will get the appropriate data usually declared rather bulky via Callbacks.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
    The class referring to the callback interface.
  • Element Details

    • iFace

      Class<?> iFace
      The class referring to the callback interface.
    • callbackUrlExpression

      String callbackUrlExpression
      See Also:
      • Callback.callbackUrlExpression()