我有以下球衣方法声明:
@POST
@Path("/fooPath")
@Produces({MediaType.APPLICATION_JSON})
@Consumes({MediaType.APPLICATION_JSON})
public Response isSellableOnline(@FormParam("productCodes") final List<String> productCodes,
@FormParam("storeName") final String storeName,
@Context HttpServletRequest request) {
在休息客户端中,我尝试像这样调用以下方法:
当我调试方法时,我看到接收到的参数为空:
如何重写方法声明?