![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web Service
jxjdyg
点滴积累,利己利TA!
展开
-
CXF restful webserice同时支持几种协议 json, xml... 很简单
1. 假设我们有个服务 (都是从别处拿来的代码)转载 2014-04-25 16:04:42 · 4946 阅读 · 1 评论 -
Apache CXF框架获得session的代码
1、jar导入略2、实现代码Message message = PhaseInterceptorChain.getCurrentMessage();HttpServletRequest request = (HttpServletRequest)message.get(AbstractHTTPDestination.HTTP_REQUEST);HttpSession sessio原创 2014-07-03 14:16:06 · 2166 阅读 · 0 评论