0 Replies Latest reply on Jan 8, 2010 7:43 AM by svetlinK

    [svn:fx-3.x] 13374: Expose a public read-only property httpService on HTTPOperation.

    svetlinK

      Revision: 13374

      Revision: 13374

      Author:   svetlink@adobe.com

      Date:     2010-01-08 07:43:33 -0800 (Fri, 08 Jan 2010)

      Log Message:

      ***********

      Expose a public read-only property httpService on HTTPOperation. HTTPOperation.service will still return null as a consequence of an old design decision (HTTPService does not extend AbstractService), but a warning is now logged to inform the user that they should use HTTPOperation.httpService to access the containing service.

       

      Doc notes: Please explain that if a standard HTTPService is used, the event.target on the ResultEvent from this service is an instance of HTTPOperation, and users can access the originating HTTPService with event.target.httpService. (see bug for use-case)

      Bugs: SDK-24775

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24775

       

      Modified Paths:

      **************

          flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as