【问题标题】:RESTful: What is the equivalent of Spring's @RequestParam and @RequestPart in Jersey?RESTful:Spring 的 @RequestParam 和 Jersey 中的 @RequestPart 等价物是什么?
【发布时间】:2014-09-28 15:24:11
【问题描述】:

什么相当于 Spring 在 Jersey 中的以下注解?

  • @org.springframework.web.bind.annotation.RequestParam
  • @org.springframework.web.bind.annotation.RequestPart

【问题讨论】:

    标签: spring rest jersey


    【解决方案1】:

    Jersey 相当于 Spring 的 @RequestParam@QueryParam

    对于多部分数据,请使用MultiPart 类或@FormDataParam 注释。

    更多信息在:

    【讨论】:

      猜你喜欢
      • 2013-07-23
      • 1970-01-01
      • 2013-07-01
      • 2014-06-12
      • 1970-01-01
      • 2022-11-28
      • 2011-11-20
      • 2019-06-21
      • 2022-01-03
      相关资源
      最近更新 更多