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.
//pseudocode public RestAdapter(PipeConfig config)