Restlet API是否支持合并并触发带有有效负载的DELETE http请求(如果支持哪种版本的restlet api)。根据RFC7231,所有http方法都支持有效负载。如果您尝试过,可以在这种情况下发布一段代码。
public interface EntityResource {
@ApiOperation(value = "Get entity", tags = "entity")
@Get
Representation getEntity();
@ApiOperation(value = "Update entity", tags = "entity")
@Put
Representation updateEntity(Representation entity);
@ApiOperation(value = "Delete entity", tags = "entity")
@Delete
void deleteEntity(Representation entity);
}