CommandMetaData commandMetaData);
public <E> E getResponseEntity(final Class<E> entityClass,
final Response restResponse) {
if (!restResponse.hasEntity()) {
throw new DNSAPIClientException(
DNSAPIClientExceptionCode.expectedEntity);
}
return restResponse.readEntity(entityClass);
}