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

Refactor RestAdapterConstructor

XMLWordPrintable

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

      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)
      }

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

                Created:
                Updated:
                Resolved: