周蓬勃 2016-10-09 10:36 采纳率: 0%
浏览 1430

Jersey中类似这种路径怎么@Path写? /BucketName/?method=acl

restful Jersey @Path 路径带参数怎么做啊?例如: /BucketName/?acl

  • 写回答

1条回答 默认 最新

  • 摇摆Maori 2016-10-09 11:12
    关注

    /**
    * The primary mapping expressed by this annotation.
    *

    In a Servlet environment: the path mapping URIs (e.g. "/myPath.do").
    * Ant-style path patterns are also supported (e.g. "/myPath/*.do").
    * At the method level, relative paths (e.g. "edit.do") are supported
    * within the primary mapping expressed at the type level.
    * Path mapping URIs may contain placeholders (e.g. "/${connect}")
    *

    In a Portlet environment: the mapped portlet modes
    * (i.e. "EDIT", "VIEW", "HELP" or any custom modes).
    *

    Supported at the type level as well as at the method level!
    * When used at the type level, all method-level mappings inherit
    * this primary mapping, narrowing it for a specific handler method.
    */
    String[] value() default {};

    评论

报告相同问题?

悬赏问题

  • ¥15 在虚拟机中安装flash code
  • ¥15 单片机stm32f10x编写光敏电阻调节3.3伏大功率灯亮度(光强越大灯越暗,白天正常光强灯不亮,使用ADC,PWM等模块)望各位找一下错误或者提供一个可实现功能的代码
  • ¥20 verilog状态机方法流水灯
  • ¥15 pandas代码实现不了意图
  • ¥15 GD32H7 从存储器到外设SPI传输数据无法重复启用DMA
  • ¥25 LT码在高斯信道下的误码率仿真
  • ¥45 渲染完成之后将物体的材质贴图改变,自动化进行这个操作
  • ¥15 yolov5目标检测并显示目标出现的时间或视频帧
  • ¥15 电视版的优酷可以设置电影连续播放吗?
  • ¥50 复现论文;matlab代码编写