Annotation Type RegisterReflectionForBinding
Declares classes the build must write JSON codecs for, read and write,
although no call site names them -- a class reached only through an
Object-typed Json.write, a Map<String, Object> response or a message
payload. Spring's annotation of the same name registers the same classes for
its ahead-of-time image, which is what this is here: codecs are generated at
build time, and Json.write refuses a class it has none for.
It may sit on any class or method of the application:
@RegisterReflectionForBinding({Invoice.class, Refund.class})
@Component
public class Webhooks { ... }
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
classes
-