return response;
}
}
// Fall through to default behavior
@SuppressWarnings({"MismatchedQueryAndUpdateOfCollection"})
final MediaRangeList mediaRangeList = new MediaRangeList(req);
if (JSONResponse.RESPONSE_CONTENT_TYPE.equals(mediaRangeList.prefer("text/html", JSONResponse.RESPONSE_CONTENT_TYPE))) {
return new JSONResponse();
} else {
return new HtmlResponse();
}
}