패키지 | mx.rpc.http.mxml |
클래스 | public dynamic class HTTPMultiService |
상속 | HTTPMultiService HTTPMultiService AbstractService Proxy |
구현 | IMXMLSupport, IMXMLObject |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
기본 MXML 속성operationList
관련 API 요소
메서드 | 정의 주체 | ||
---|---|---|---|
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 | ||
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 | ||
Logs the user out of the destination. | AbstractService | ||
Sets the credentials for the destination accessed by the service when using Data Services on the server side. | AbstractService | ||
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 |
HTTPMultiService | () | 생성자 |
public function HTTPMultiService(rootURL:String = null, destination:String = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수rootURL: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 | () | 메서드 |
public function initialized(document:Object, id:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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
.
매개 변수
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.
|
Tue Jun 12 2018, 03:17 PM Z