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

Eliminate shared ClientExecutor from ClientRequest

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 2.3-RC1
    • 2.3-beta-1
    • jaxrs
    • None
    • Documentation (Ref Guide, User Guide, etc.)

    Description

      If an org.jboss.resteasy.client.ClientRequest is created without explicitly being passed a ClientExecutor, it will create one, based on the value of ClientRequest.defaultExecutorClasss. Currently, there is a non-default option to create a single shared instance of defaultExecutorClasss, which will be returned by ClientRequest.getDefaultExecutor(). The option can be turned on by calling the static method

      public static void setDefaultExecutorClass(String classname, boolean createPerRequestInstance)
      

      with createPerRequestInstance set to false.

      This option will be removed.

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            rsigal@redhat.com Ronald Sigal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: