Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11651

Add method parameter check in jaxrs apps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 16.0.0.Final
    • 15.0.0.Final, 16.0.0.Beta1
    • REST
    • None

    Description

      The jaxrs 2.1 spec section 3.2 require resource method parameters be checked at deployment time of errors handling @DefaultValue annotations. This must be added in wfly because
      resteasy is not called until the first client request.

      Testing
      Build and deploy attached app to wildfly.
      Before code fix deployment should be successful.
      Running app with cmd: curl "http://localhost:8080/jaxrs-wf/a?param=2"
      should fail.
      After code fix deployment should fail with detailed msg.

      Attachments

        Issue Links

          Activity

            People

              rsearls r searls
              rsearls r searls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: