![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
restful
iteye_8567
这个作者很懒,什么都没留下…
展开
-
cxf restful
与cxf相关的pom配置 <properties> <cxf.version>3.0.3</cxf.version> <!-- jackson 2.3.3 already included by spring boot, so here include jackson.jaxrs 2.3.3--> <com.f...原创 2014-12-11 17:33:40 · 119 阅读 · 0 评论 -
cfx 取IP
import javax.servlet.http.HttpServletRequest; import javax.ws.rs.core.Context; import javax.xml.ws.WebServiceContext; import javax.xml.ws.handler.MessageContext; import org.apache.cxf.message.M...原创 2014-12-11 17:36:13 · 158 阅读 · 0 评论 -
cxf restful方法与JUnit测试
@Path("/account") public class AccountController { //*************************************Login****************************************** @GET @Path("/login") @Produces(MediaType.APPL...原创 2014-12-11 17:49:42 · 232 阅读 · 0 评论 -
restful重定向
//302 @SuppressWarnings("rawtypes") @POST @Produces(MediaType.APPLICATION_JSON) @Path("/callbackRetUrl") public javax.ws.rs.core.Response callbackRetUrlRoute(@Context HttpServletRequest re...原创 2015-01-31 16:32:04 · 465 阅读 · 0 评论