将client独立并移除spring的依赖,数据格式转换器修改成可以配置注入等#27
Open
liangruisen wants to merge 6 commits intoitstamen:masterfrom
Open
将client独立并移除spring的依赖,数据格式转换器修改成可以配置注入等#27liangruisen wants to merge 6 commits intoitstamen:masterfrom
liangruisen wants to merge 6 commits intoitstamen:masterfrom
Conversation
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请求
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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,给使用者更多的选择,当然你也可以自定义数据格式转换器