String accept = RequestHelper.getAccepte(this.request);
String mimeType = RequestHelper.getMimeType(this.request);
// 获取服务方法上的数据返回类型
if (method.isAnnotationPresent(ProduceMime.class)) {
ProduceMime pmAnnotation = method.getAnnotation(ProduceMime.class);
String[] mimeTypes = pmAnnotation.value();
for (String mime : mimeTypes) {
if (accept.indexOf(mime) != -1) {
mimeType = mime;
break;
}