R – Two different HTTPService classes in Flex

apache-flexhttpservice

Why are there two different HTTPService classes in Flex?
this
and
this

And the second one inherits the first one.
Why couldn't there be a single class combining the two?

Best Answer

One of the objects (the first link you posted) is the HTTPService Object itself.

The second is the object that wraps the HTTPService object and gives it the additional functionality for the <mxml /> tag.

The two probably weren't combined because you don't necessarily need the implementation of the IMXMLObject and IMXMLSupport interfaces every time you need an HTTService object.

Related Topic