Packagecom.esri.ags.tasks
Classpublic class BaseTask
InheritanceBaseTask Inheritance flash.events.EventDispatcher
Implementsmx.core.IMXMLObject
SubclassesFindTask, GeometryService, Geoprocessor, IdentifyTask, Locator, QueryTask, RouteTask

Base class to be extended by all tasks.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
BaseTask(url:String = null)
Creates a new BaseTask.
BaseTask
Property detail
concurrencyproperty
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:

See also

disableClientCachingproperty 
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
proxyURLproperty 
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
requestTimeoutproperty 
public var requestTimeout:Number = -1

The request timeout in seconds. A value less than or equal to zero prevents request timeout.

The default value is -1.

showBusyCursorproperty 
public var showBusyCursor:Boolean = false

If true, a busy cursor is displayed while a service is executing.

The default value is false.

tokenproperty 
public var token:String

Token for accessing a secure task.

urlproperty 
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
Constructor detail
BaseTask()constructor
public function BaseTask(url:String = null)

Creates a new BaseTask.

Parameters
url:String (default = null) — [optional] URL of the task.