![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rest
文章平均质量分 77
alane1986
头顶的蓝天,沉默高仰......
展开
-
Springmvc rest 传递json报415错误(The server refused this request because the request entity is in a forma
Springmvc rest 传递json报415错误报错如下:(The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.)原创 2017-05-27 09:55:37 · 26796 阅读 · 3 评论 -
springmvc rest @PathVariable和@RequestParam的区别
springmvc rest @PathVariable和@RequestParam的区别:@PathVariable,是从路径里面去获取变量,也就是把路径当做变量;@RequestParam,是从请求里面获取参数。原创 2017-05-27 10:46:31 · 2570 阅读 · 0 评论 -
rest注解说明及使用示例(java)
1.常用API介绍1.1 javax.ws.rs包(用于创建RESTful服务资源的高级接口和注解)1.1.1 统一接口JAX-RS使用@javax.ws.rs.POST 、@javax.ws.rs.GET 、@javax.ws.rs.PUT、@javax.ws.rs.DELETE四个注解代表了对资源的CRUD(Create, Retrieve, Update, Delete)操作。转载 2017-05-26 16:02:58 · 6930 阅读 · 0 评论 -
spring rest 增删改查(put\delete\post\get)简单示例详细讲解
spring rest 增删改查(put\delete\post\get)简单示例详细讲解原创 2017-05-27 15:33:57 · 5078 阅读 · 0 评论