| Pacote | mx.core |
| Classe | public class CrossDomainRSLItem |
| Herança | CrossDomainRSLItem RSLItem Object |
| Método | Definido por | ||
|---|---|---|---|
|
CrossDomainRSLItem(rslUrls:Array, policyFileUrls:Array, digests:Array, hashTypes:Array, isSigned:Array)
Create a cross-domain RSL item to load.
| CrossDomainRSLItem | ||
|
Does the current url being processed have a failover?
| CrossDomainRSLItem | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
|
load(progressHandler:Function, completeHandler:Function, ioErrorHandler:Function, securityErrorHandler:Function, rslErrorHandler:Function):void
Load an RSL.
| CrossDomainRSLItem | ||
|
Load the next url from the list of failover urls.
| CrossDomainRSLItem | ||
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| CrossDomainRSLItem | () | Construtor |
public function CrossDomainRSLItem(rslUrls:Array, policyFileUrls:Array, digests:Array, hashTypes:Array, isSigned:Array)
Create a cross-domain RSL item to load.
ParâmetrosrslUrls:Array — Array of Strings, may not be null. Each String is the url of an RSL to load.
|
|
policyFileUrls:Array — Array of Strings, may not be null. Each String contains the url of an
policy file which may be required to allow the RSL to be read from another
domain. An empty string means there is no policy file specified.
|
|
digests:Array — Array of Strings, may not be null. A String contains the value of the digest
computed by the hash in the corresponding entry in the hashTypes Array. An empty
string may be provided for unsigned RSLs to loaded them without verifying the digest.
This is provided as a development cycle convenience and should not be used in a
production application.
|
|
hashTypes:Array — Array of Strings, may not be null. Each String identifies the type of hash
used to compute the digest. Currently the only valid value is SHA256.TYPE_ID.
|
|
isSigned:Array — Array of boolean, may not be null. Each boolean value specifies if the RSL to be
loaded is a signed or unsigned RSL. If the value is true the RSL is signed.
If the value is false the RSL is unsigned.
|
| hasFailover | () | método |
public function hasFailover():Boolean
Does the current url being processed have a failover?
RetornaBoolean — true if a failover url exists, false otherwise.
|
| load | () | método |
public override function load(progressHandler:Function, completeHandler:Function, ioErrorHandler:Function, securityErrorHandler:Function, rslErrorHandler:Function):void
Load an RSL.
Parâmetros
progressHandler:Function — receives ProgressEvent.PROGRESS events, may be null
|
|
completeHandler:Function — receives Event.COMPLETE events, may be null
|
|
ioErrorHandler:Function — receives IOErrorEvent.IO_ERROR events, may be null
|
|
securityErrorHandler:Function — receives SecurityErrorEvent.SECURITY_ERROR events, may be null
|
|
rslErrorHandler:Function — receives RSLEvent.RSL_ERROR events, may be null
|
| loadFailover | () | método |
public function loadFailover():void
Load the next url from the list of failover urls.