Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8284

Parameter annotations with default names

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • JAX-RS
    • None
    • Unknown

    Description

      @...Param annotations require in most cases the repetition of the parameter name. i.e.

      {{@Path("/book/{isbn}")}}
      {{ public String getBook(@PathParam("isbn") String isbn)}}{{{}}

      {{  }}...

      {{ }}}

      RestEasy implemented new annotations that don't require the parameter name when it matches the Java name. It would be useful to have the same in Apache CXF.

      See

      Attachments

        Activity

          People

            reta Andriy Redko
            xnYi9wRezm xnYi9wRezm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: