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

JAX-RS parameter annotations with default names

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Beta2
    • None
    • REST
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      We're proposing to add custom RESTEasy annotations working the same as vanilla JAX-RS QueryParam, HeaderParam, FormParam, CookieParam, PathParam, MatrixParam, but taking their names from (depending on where they're placed):

      • parameter name, via reflection (requires use of -parameters javac flag, otherwise params are named arg0..X)
      • setter property name
      • field name

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Marek Kopecky Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: