Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.优化FastjsonHttpMessageConverter异常信息 使用FastjsonHttpMessageConverter替代以下功能: 2.同时支持 @FastjsonView注解 和 返回JSONP格式。 3.spring4支持: @deprecated FastjsonHttpMessageConverter4 (spring4.x版本中已经在AbstractHttpMessageConverter类提供了 StreamingHttpOutputMessage的支持了,所以不需要这样断裂性的升级) 4.jsonp支持: @deprecated FastJsonpHttpMessageConverter4 其他: 5.jsonp AOP支持 :@deprecated FastJsonpResponseBodyAdvice(无法同时支持响应json和jsonp) 使用JSONPResponseBodyAdvice 和 @REsponseJSONP替代 6.添加了新的功能的单元测试。 建议: 1.FastJsonContainer 作为包保护类使用。 2.@FastjsonView 容易让人认为是AbstractView的子类。 但其实是一个方法级别的自定义序列化参数传递的注解。 同样包括他的AOP处理类 FastJsonViewResponseBodyAdvice。 建议可以做一些名字上的优化。
- Loading branch information
Showing
10 changed files
with
592 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.