public class NameListResponse extends BaseResponse
Constructor and Description |
---|
NameListResponse()
This is the constructor that is used by Jackson deserializer to create an instance of
NameListResponse.
|
NameListResponse(java.lang.String[] names)
Creates a new NameListResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response code.
|
public NameListResponse(java.lang.String[] names)
names
- The list of names.public NameListResponse()
public void validate() throws java.lang.IllegalArgumentException
BaseResponse
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if code value is negative.