Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19876

Deprecate the jaxrs subsystems resteasy-2-0-request-matching attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • REST
    • None
    • ---
    • ---

      The resteasy-2-0-request-matching attribute in the jaxrs does not enable or disable anything in RESTEasy. It looks like this setting was brought into RESTEasy 3.x with RESTEASY-1951. However, it was never ported into the 4.x branch which is what RESTEasy 6.2 is based on. The basic idea seems to be that a request to a resource can match regardless of the HTTP Method. In other words, if the method is annotated with @GET, a POST request would also match the resource. This seems to have been changed in JAX-RS 2.1.

      We should deprecate this and likely log a message if it's been set in the subsystem.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: