Class NameListResponse
java.lang.Object
org.apache.gravitino.dto.responses.BaseResponse
org.apache.gravitino.dto.responses.NameListResponse
- All Implemented Interfaces:
RESTMessage
,RESTResponse
Represents a response for a list of entity names.
-
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializer to create an instance of NameListResponse.NameListResponse
(String[] names) Creates a new NameListResponse. -
Method Summary
-
Constructor Details
-
NameListResponse
Creates a new NameListResponse.- Parameters:
names
- The list of names.
-
NameListResponse
public NameListResponse()This is the constructor that is used by Jackson deserializer to create an instance of NameListResponse.
-
-
Method Details
-
validate
Description copied from class:BaseResponse
Validates the response code.- Specified by:
validate
in interfaceRESTMessage
- Overrides:
validate
in classBaseResponse
- Throws:
IllegalArgumentException
- if code value is negative.
-