Uploaded image for project: 'Spring for Android'
  1. Spring for Android
  2. ANDROID-88

Add alternate constructor for RestTemplate that doesn't populate the list of available message converters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.0.0.RC1
    • Fix Version/s: 1.0.0.RELEASE
    • Component/s: rest-template
    • Labels:
      None

      Description

      In an effort to reduce memory usage, it is helpful to have a constructor for RestTemplate that does not create several message converter objects if they are not going to be used in a particular request. Additionally, the current constructor uses a ClassLoader several times to check for the presence of certain libraries. This can contribute to a slower initialization time, especially in the Android environment.

        Attachments

          Activity

            People

            • Assignee:
              rclarkson Roy Clarkson
              Reporter:
              rclarkson Roy Clarkson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: