webService的rest風格的接口發佈流程

 restful風格服務的發佈 步驟 1 在接口中編寫抽象方法以及在的實現類中配置相應的實現方法(rest的方法),示例代碼如下: @Override @Produces("application/json")//返回值類型 @Consumes("application/x-www-form-urlencoded")//表單提交類型 @Path("rest_ping")//http訪問的路徑 @G
相關文章
相關標籤/搜索