weixin_39759270
weixin_39759270
2021-01-07 18:33

Support for MVC 1.0 API ValidationResult.

A ValidationResult object can be injected in a resource class for controller methods to handle validation errors without using an exception mapper.

该提问来源于开源项目:jersey/jersey

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39562234 weixin_39562234 4月前

    Can one of the admins verify this patch?

    点赞 评论 复制链接分享
  • weixin_39722196 weixin_39722196 4月前

    Jenkins, test this patch.

    点赞 评论 复制链接分享
  • weixin_39884832 weixin_39884832 4月前

    Jenkins, test this patch.

    点赞 评论 复制链接分享
  • weixin_39884832 weixin_39884832 4月前

    Jenkins, test this patch. (This time hopefully with checkstyle errors collection)

    点赞 评论 复制链接分享
  • weixin_39884832 weixin_39884832 4月前

    Jenkins, test this patch.

    点赞 评论 复制链接分享
  • weixin_39843151 weixin_39843151 4月前

    Hi Spericas,

    you seem to be using java.lang.reflect.Method#getParamterCount(), which has been introduced in JDK8. Jersey can be built against jdk8, but so far we are using jdk7 as our main environment and for building the released artifacts. I am afraid, you will have to replace this with another construct, maybe m.getParameterTypes().length or something similar.

    Regards, Adam

    点赞 评论 复制链接分享
  • weixin_39884832 weixin_39884832 4月前

    Will deliver via internal commit with updates to remove usage of Java SE 8 APIs.

    点赞 评论 复制链接分享

相关推荐