Annotation Type JSONP
Note: applicable to annotations to allow bundling (if support added
to Jakarta-RS bundle itself), as well as methods to indicate that return
type is to be wrapped.
Other types are not allowed, since there is no current usage for those;
input can't be wrapped (so no need for parameters); fields are not
exposed through Jakarta-RS; and we do not allow 'default wrapping' for
types.
Note on properties: if either prefix() or suffix()
is non-empty, they are used as literal prefix and suffix to use.
Otherwise value() is used as the function name, followed
by opening parenthesis, value, and closing parenthesis.
Example usage:
class Wrapper {
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionPrefix String used for JSONP if not empty: will be included verbatim before JSON value.Suffix String used for JSONP if not empty: will be included verbatim after JSON value.