*/
protected Representation doNegotiatedHandle() throws ResourceException {
Representation result = null;
if ((getVariants() != null) && (!getVariants().isEmpty())) {
Variant preferredVariant = getClientInfo().getPreferredVariant(
getVariants(), getMetadataService());
if (preferredVariant == null) {
// No variant was found matching the client preferences
doError(Status.CLIENT_ERROR_NOT_ACCEPTABLE);