Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-119

Root Resources at "/" with Subresource Locators/Methods does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.1
    • Server
    • None

    Description

      A root resource with @Path("/") and a subresource method/locator will not match.

      @Path("/")
      public class Root {
         @GET
         @Path("hello")
         public String getHelloWorld() {
            return "Hello world";
         }
      }
      

      And issuing a GET to /hello would result in a 404.

      Attachments

        1. WINK-119.patch
          7 kB
          Michael Elman

        Activity

          People

            nfischer Nadav Fischer
            bluk Bryant Luk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: