public interface ResponseBody
Subclass instances are converted to JSON using jackson-databind. Subclasses must have a constructor that accepts
all fields of the JSON response, that should be annotated with @JsonCreator
.
All fields that should part of the JSON response 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–2019 The Apache Software Foundation. All rights reserved.