Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2286

ClientRequestFilter Registered on ResteasyClientBuilder is not isolated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 3.7.0.Final
    • None
    • None

      When registering a ClientRequestFilter named EntityLoggingFilter

      WebTarget target = new ResteasyClientBuilder().register(EntityLoggingFilter.class).connectTimeout(10, TimeUnit.SECONDS).readTimeout(60, TimeUnit.SECONDS).build()
      

      All future ResteasyClientBuilder created without registering the EntityLoggingFilter have it applied anyway. This was not the case in Wildfly 16.0.0.Final

            rsearls r searls
            cody.lerum@gmail.com Cody Lerum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: