Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3459

Log warning message if two end-points are conflicting on the same path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.0.2.CR1, 7.0.2.GA
    • 7.0.0.ER5, 7.0.1.CR1
    • REST
    • None
    • EAP 7.0.2

    Description

      RESTEasy should log warning message if two end-points are conflicting on the same path

      Example:

      @Path("/a")
      public class DuplicitePathMethodResource {
          public static final String DUPLICITE_RESPONSE_1 = "response1";
          public static final String DUPLICITE_RESPONSE_2 = "response2";
      
          @Path("/b")
          @GET
          public String dupliciteOne() {
              return DUPLICITE_RESPONSE_1;
          }
      
          @Path("/b")
          @GET
          public String dupliciteTwo() {
              return DUPLICITE_RESPONSE_2;
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              kanovotn Katerina Odabasi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: