Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-873

Refactor RestAdapterConstructor

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0
    • None
    • android
    • None

    Description

      Currently, the DefaultPipeFactory processes a PipeConfig objects and passes its results to the appropriate RestAdapter constructor.

      Restadapter should have a constructor which does the processing.

      We should also look at making more fields final.

      //pseudocode
      public RestAdapter(PipeConfig config) {
      handleGson(config)
      handleUrl(config)
      handlePaging(config)
      etc(config)
      }

      Attachments

        Activity

          People

            supittma@redhat.com Summers Pittman (Inactive)
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: