jersey
  1. jersey
  2. JERSEY-935

Create a resource mapped to an URI template containing a parameter with regex.

    Details

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

      Description

      Demo: Application with 2 resource methods, one with

      {id:regex}, other with {id}

      template. Verify that if the path param matches regex, the first method is called, otherwise the second one.

        Issue Links

          Activity

          Hide
          Marek Potociar added a comment -

          This issue is a follow up for the closed issue JERSEY-867 from Sprint 03.

          Show
          Marek Potociar added a comment - This issue is a follow up for the closed issue JERSEY-867 from Sprint 03.
          Hide
          Jakub Podlesak added a comment -

          Already covered in the core-server module in
          org.glassfish.jersey.server.model.SubResourceHttpMethodsTest#testSubResource

          the test passes

          Show
          Jakub Podlesak added a comment - Already covered in the core-server module in org.glassfish.jersey.server.model.SubResourceHttpMethodsTest#testSubResource the test passes

            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 - 12 hours
                12h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour Time Not Required
                1h