Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

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