jersey
  1. jersey
  2. JERSEY-852

Have two methods on the same resource handling the HTTP POST, differing just in @Produces/Consumes value.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-m01, 2.0
    • Component/s: None
    • Labels:
      None

      Description

      Demo: Deploy a resource with several (at least 2) different @POST methods consuming and producing different representations (first show an ambiguous case - i.e. 2 methods using the same media types - and show the deployment fails then show it does not fail with generic vs. specific case), use curl / poster to send/retrieve the various representations. Show the proper method is called. If the produces/consumes does not match, should get proper error.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jakub Podlesak
            Reporter:
            Marek Potociar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day, 12 hours Original Estimate - 1 day, 12 hours
              1d 12h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 days, 1 hour
              3d 1h