| Package | com.adobe.mediacore.system |
| Interface | public interface URLRequestFactory |
| Implementors | DefaultURLRequestFactory |
| Method | Defined By | ||
|---|---|---|---|
create(url:String):URLRequest
Create an URLRequest object based on previous redirected requests. | URLRequestFactory | ||
registerRedirected(request:URLRequest):void
Register a redirected request for future usage when creating URLRequest objects. | URLRequestFactory | ||
| create | () | method |
public function create(url:String):URLRequestCreate an URLRequest object based on previous redirected requests. PSDK defines a default behavior for this with DefaultURLRequestFactory. The user is free to overload this default factory with one that behaves differently
Parameters
url:String — the url for the URLRequest to be created
|
URLRequest — an URLRequest created by the redirection rules of the factory
|
| registerRedirected | () | method |
public function registerRedirected(request:URLRequest):voidRegister a redirected request for future usage when creating URLRequest objects. This method is called automatically by PSDK when a request is redirected.
Parameters
request:URLRequest — the URLRequest object to be registered as redirected.
|