Skip to content

将client独立并移除spring的依赖,数据格式转换器修改成可以配置注入等#27

Open
liangruisen wants to merge 6 commits intoitstamen:masterfrom
liangruisen:master
Open

将client独立并移除spring的依赖,数据格式转换器修改成可以配置注入等#27
liangruisen wants to merge 6 commits intoitstamen:masterfrom
liangruisen:master

Conversation

@liangruisen
Copy link

1.将client代码独立开来,client的代码移除spring依赖,将client和平台服务公共用到的代码独立放到rop-core目录下
2.将RopConverter移除spring依赖,并移到com.rop.converter包下
3.将AnnotationServletServiceRouter中的xmlMarshaller对象、serviceMethodAdapter对象、jsonMarshaller对象变为可通过set方法设置
4.将服务方法的参数类型必需继承AbstractRopRequest类型移除,变成可使用普通的pojo对象,服务方法的参数可接收RopRequestContext、HttpServletRequest、HttpServletResponse、RopContext对象,类似spring的Conttroller类的方法可变参数列表
5.添加FastjsonRopMarshaller和FastjsonRopUnmarshaller,给使用者更多的选择,当然你也可以自定义数据格式转换器

liangruisen and others added 6 commits August 13, 2016 22:22
1.将client代码独立开来,client的代码移除spring依赖,将client和平台服务公共用到的代码独立放到rop-core目录下
2.将RopConverter移除spring依赖,并移到com.rop.converter包下
3.将AnnotationServletServiceRouter中的xmlMarshaller对象、serviceMethodAdapter对象、jsonMarshaller对象变为可通过set方法设置
4.将服务方法的参数类型必需继承AbstractRopRequest类型移除,变成可使用普通的pojo对象,服务方法的参数可接收RopRequestContext、HttpServletRequest、HttpServletResponse、RopContext对象,类似spring的Conttroller类的方法可变参数列表
5.添加FastjsonRopMarshaller和FastjsonRopUnmarshaller,给使用者更多的选择,当然你也可以自定义数据格式转换器
…签名方式的目的,移除httpClient组件jar包,使用jdk自带的方式实现httpClient请求
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant