码迷,mamicode.com
首页 >  
搜索关键字:jersey    ( 274个结果
Jersey(1.19.1) - Conditional GETs and Returning 304 (Not Modified) Responses
Conditional GETs are a great way to reduce bandwidth, and potentially server-side performance, depending on how the information used to determine cond ...
分类:其他好文   时间:2016-04-17 00:21:44    阅读次数:206
Jersey(1.19.1) - WebApplicationException and Mapping Exceptions to Responses
Previous sections have shown how to return HTTP responses and it is possible to return HTTP errors using the same mechanism. However, sometimes when p ...
分类:移动开发   时间:2016-04-16 22:59:55    阅读次数:341
Jersey(1.19.1) - Sub-resources
@Path may be used on classes and such classes are referred to as root resource classes. @Path may also be used on methods of root resource classes. Th ...
分类:其他好文   时间:2016-04-16 18:12:16    阅读次数:155
Jersey(1.19.1) - Building Responses
Sometimes it is necessary to return additional information in response to a HTTP request. Such information may be built and returned using Response an ...
分类:其他好文   时间:2016-04-16 16:59:22    阅读次数:154
Jersey(1.19.1) - Representations and Java Types
Previous sections on @Produces and @Consumes referred to MIME media types of representations and showed resource methods that consume and produce the ...
分类:编程语言   时间:2016-04-16 16:46:34    阅读次数:140
Jersey(1.19.1) - Extracting Request Parameters
Parameters of a resource method may be annotated with parameter-based annotations to extract information from a request. A previous example presented ...
分类:其他好文   时间:2016-04-16 12:29:29    阅读次数:227
Jersey(1.19.1) - Deploying a RESTful Web Service
JAX-RS provides a deployment agnostic abstract class Application for declaring root resource and provider classes, and root resource and provider sing ...
分类:Web程序   时间:2016-04-16 02:02:39    阅读次数:343
用Jersey为Android客户端开发Restful Web Service
平时在做Android客户端的时候经常要与服务器之间通信,客户端通过服务端提供的接口获取数据,然后再展示在客户端的界面上,作为Android开发者,我们平时更多的是关注客户端的开发,而对服务端开发的关注相对较少,但是如果我们要自己一个人设计并开发一套完整的系统,我们就必须同时具备客户端和服务端的开发 ...
分类:移动开发   时间:2016-04-15 21:29:28    阅读次数:502
Deploy 1.x Jersey WebServices on Tomcat
泪奔,调了两天终于调成了。先说说遇到的问题 Jersey 1.x 和 2.x项目内的config不同,且jersey 2.x 把 com.sun.jersey的路径改成了org.glassfish.jersey,这是最大的坑。笔者一开始没注意,开着1.x的教程用了2.x的包,即使后来发现了这个问题, ...
分类:Web程序   时间:2016-04-15 19:41:06    阅读次数:211
【Jersey】图片上传及显示
一、前期准备 图片上传需要用到的一些依赖: 二、Jersey注解 @Path("/img") 表示访问路径为/img,并且可以接收参数,例如@Path("/images/{name}.{type}"),再利用@PathParam来接收name和type两个参数;同时也支持正则表达式,例如@Path( ...
分类:Web程序   时间:2016-04-14 12:07:59    阅读次数:512
274条   上一页 1 ... 14 15 16 17 18 ... 28 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!