| Package | com.esri.ags.tasks |
| Class | public class BaseTask |
| Inheritance | BaseTask flash.events.EventDispatcher |
| Implements | mx.core.IMXMLObject |
| Subclasses | FindTask, GeometryService, Geoprocessor, IdentifyTask, Locator, QueryTask, RouteTask |
| Property | Defined by | ||
|---|---|---|---|
| concurrency : String = "multiple"
Value that indicates how to handle multiple calls to the same task.
| BaseTask | ||
| disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from
being loaded from the browser's cache.
| BaseTask | ||
| proxyURL : String
The URL to proxy the request through.
| BaseTask | ||
| requestTimeout : Number = -1
The request timeout in seconds.
| BaseTask | ||
| showBusyCursor : Boolean = false
If true, a busy cursor is displayed while a service is executing.
| BaseTask | ||
| token : String
Token for accessing a secure task.
| BaseTask | ||
| url : String
URL of the task.
| BaseTask | ||
| Method | Defined by | ||
|---|---|---|---|
|
BaseTask(url:String = null)
Creates a new BaseTask.
| BaseTask | ||
| concurrency | property |
public var concurrency:String = "multiple"
Value that indicates how to handle multiple calls to the same task. The default
value is multiple. The following values are permitted:
multiple Existing requests are not cancelled and the developer is
responsible for ensuring the consistency of returned data by carefully
managing the event stream. This is the default value.single Only a single request at a time is allowed on the task;
multiple requests generate a fault.last Making a request cancels any existing request.See also
| disableClientCaching | property |
disableClientCaching:Boolean [read-write]If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from being loaded from the browser's cache.
The default value is false.
This property can be used as the source for data binding.
Implementation public function get disableClientCaching():Boolean
public function set disableClientCaching(value:Boolean):void
| proxyURL | property |
proxyURL:String [read-write]The URL to proxy the request through.
This property can be used as the source for data binding.
Implementation public function get proxyURL():String
public function set proxyURL(value:String):void
| requestTimeout | property |
public var requestTimeout:Number = -1The request timeout in seconds. A value less than or equal to zero prevents request timeout.
The default value is -1.
| showBusyCursor | property |
public var showBusyCursor:Boolean = falseIf true, a busy cursor is displayed while a service is executing.
The default value is false.
| token | property |
public var token:StringToken for accessing a secure task.
| url | property |
url:String [read-write]URL of the task.
This property can be used as the source for data binding.
Implementation public function get url():String
public function set url(value:String):void
| BaseTask | () | constructor |
public function BaseTask(url:String = null)Creates a new BaseTask.
Parametersurl:String (default = null) — [optional] URL of the task.
|