}
/**处理 @Produces 注解。*/
protected Object returnCallBack(Object returnData, Call call) {
Method targetMethod = call.getMethod();
if (targetMethod.isAnnotationPresent(Produces.class) == true) {
Produces pro = targetMethod.getAnnotation(Produces.class);
String proValue = pro.value();
if (StringUtils.isBlank(proValue) == false) {
this.servletResponse.setContentType(proValue);
}
}
return returnData;