public interface RequestBody
Subclass instances are converted to JSON using jackson-databind. Subclasses must have a constructor that accepts
all fields of the JSON request, that should be annotated with @JsonCreator
.
All fields that should part of the JSON request must be accessible either by being public or having a getter.
When adding methods that are prefixed with get/is
make sure to annotate them with @JsonIgnore
.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.