spring mvc restful风格的api怎么过滤相同路径
java吧
全部回复
仅看楼主
level 1
hlongy
楼主
spring mvc restful风格的api怎么过滤相同路径
比如:GET:/users/和POST:/users两个请求,我现在只想把POST的过滤掉,get不过滤,要怎么处理
2016年05月09日 16点05分
1
level 9
香铭一杯
为什么一定要过滤呢
2016年05月09日 16点05分
2
level 15
abcwt112
requestmapping注解里由有很多属性的,自己找吧
2016年05月10日 00点05分
3
hlongy
requestmapping没有过滤属性啊
2016年05月10日 01点05分
level 1
alan550655145
3L说的对
2016年05月10日 00点05分
4
level 6
神秘的豆子ABC
4L说得对
2016年05月10日 00点05分
5
level 11
Joepis😲
指定接受get请求
2016年05月10日 00点05分
6
hlongy
指定怎么写?
2016年05月10日 01点05分
Joepis😲
requestMethod.get,好像是这样的
2016年05月10日 11点05分
level 1
hlongy
楼主
谢谢,我看看
2016年05月10日 01点05分
7
1