public class SchemaResponse extends BaseResponse
| Constructor and Description |
|---|
SchemaResponse()
This is the constructor that is used by Jackson deserializer
|
SchemaResponse(SchemaDTO schema)
Creates a new SchemaResponse.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the response.
|
public SchemaResponse(SchemaDTO schema)
schema - The schema DTO object.public SchemaResponse()
public void validate()
throws java.lang.IllegalArgumentException
validate in interface RESTMessagevalidate in class BaseResponsejava.lang.IllegalArgumentException - If the response is invalid, this exception is thrown.