Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1880

Parameter annotations with default names

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.6.0.Final, 4.0.0.Beta4
    • None
    • None
    • None

      Stéphane Épardaud is proposing adding custom RESTEasy annotations working the same as 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
            separdau@redhat.com Stephane Epardaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: