如何从rest中选择对象参数?

时间:2015-04-30 15:17:14

标签: java json rest resteasy

我使用Resteasy,在特定资源上,我们可以收到错误对象。

@POST
@Path("/product/{confirmationId}")
public void productConfirmation(@PathParam("confirmationId") String confirmationId,Error error);

当来电者没有向我发送错误对象时,如何忽略此对象?

0 个答案:

没有答案