Package | mx.rpc.http.mxml |
Class | public dynamic class HTTPMultiService |
Inheritance | HTTPMultiService HTTPMultiService AbstractService Proxy Object |
Implements | IMXMLSupport, IMXMLObject |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
<mx:HTTPMultiService>
tag to represent an
HTTPMultiService object in an MXML file. The HTTPMultiService is like the
HTTPService but supports more than one operation for each individual tag.
Note: Due to a software limitation, HTTPService does not generate user-friendly error messages when using GET.
Default MXML PropertyoperationList
Related API Elements
Method | Defined By | ||
---|---|---|---|
Creates a new HTTPMultiService. | HTTPMultiService | ||
Disconnects the service's network connection and removes any pending
request responders. | AbstractService | ||
Returns an Operation of the given name. | AbstractService | ||
Indicates whether an object has a specified property defined. | Object | ||
Called to initialize the service. | AbstractService | ||
Called after the implementing object has been created and all
component properties specified on the MXML tag have been
initialized. | HTTPMultiService | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Logs the user out of the destination. | AbstractService | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the credentials for the destination accessed by the service when using Data Services on the server side. | AbstractService | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
The username and password to be used to authenticate a user when
accessing a remote, third-party endpoint such as a web service through a
proxy or a remote object through a custom adapter when using Data Services on the server side. | AbstractService | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
HTTPMultiService | () | Constructor |
public function HTTPMultiService(rootURL:String = null, destination:String = null)
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Creates a new HTTPMultiService. This constructor is usually called by the generated code of an MXML document. You usually use the mx.rpc.http.HTTPService class to create an HTTPService in ActionScript.
ParametersrootURL:String (default = null ) — The URL the HTTPService should use when computing relative URLS.
| |
destination:String (default = null ) — An HTTPService destination name in the service-config.xml file.
|
initialized | () | method |
public function initialized(document:Object, id:String):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Called after the implementing object has been created and all
component properties specified on the MXML tag have been
initialized.
If you create this class in ActionScript and want it to function with validation, you must
call this method and pass in the MXML document and the
HTTPService's id
.
Parameters
document:Object — The MXML document that created this object.
| |
id:String — The identifier used by document to refer
to this object. If the object is a deep property on document,
id is null.
|
Mon Nov 28 2011, 06:48 AM -08:00