public interface RESTMessage
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
void validate()
throws java.lang.IllegalArgumentException
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
java.lang.IllegalArgumentException