1921 lines
98 KiB
HTML
1921 lines
98 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title>API: connection YAHOO.util.Connect (YUI Library)</title>
|
|
<link rel="stylesheet" type="text/css" href="assets/api.css">
|
|
<script type="text/javascript" src="assets/api-js"></script>
|
|
<script type="text/javascript" src="assets/ac-js"></script>
|
|
</head>
|
|
|
|
<body id="yahoo-com">
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="hd">
|
|
<a href="http://developer.yahoo.com/yui/"><h1>Yahoo! UI Library</h1></a>
|
|
<h3>connection <span class="subtitle">2.5.1</span></h3>
|
|
<p>
|
|
<a href="./index.html">Yahoo! UI Library</a>
|
|
> <a href="./module_connection.html">connection</a>
|
|
> YAHOO.util.Connect
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<form name="yui-classopts-form">
|
|
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> Show Private</span>
|
|
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> Show Protected</span>
|
|
</form>
|
|
|
|
<h2>
|
|
|
|
|
|
|
|
|
|
Class <b>YAHOO.util.Connect</b>
|
|
<span class="extends">
|
|
</span>
|
|
|
|
<span class="extends">
|
|
</span>
|
|
|
|
</code>
|
|
</h2>
|
|
<!-- class tree goes here -->
|
|
|
|
|
|
|
|
|
|
<div class="summary description">
|
|
The Connection Manager singleton provides methods for creating and managing
|
|
asynchronous transactions.
|
|
</div>
|
|
|
|
|
|
<div class="section field details">
|
|
<h3 id="properties">Properties</h3>
|
|
<div class="content">
|
|
<div class="private">
|
|
<h4><a name="property__customEvents">_customEvents</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
A reference table that maps callback custom events members to its specific
|
|
event name.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__default_post_header">_default_post_header</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines if a default header of
|
|
Content-Type of 'application/x-www-form-urlencoded'
|
|
will be added to client HTTP headers sent for POST
|
|
transactions.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__default_xhr_header">_default_xhr_header</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The default header value for the label
|
|
"X-Requested-With". This is sent with each
|
|
transaction, by default, to identify the
|
|
request as being made by YUI Connection Manager.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__formNode">_formNode</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Property modified by setForm() to set a reference to the HTML
|
|
form node if the desired action is file upload.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__has_default_header">_has_default_header</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines if custom, default headers
|
|
are set for each transaction.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__has_http_headers">_has_http_headers</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines if HTTP headers are set.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__hasSubmitListener">_hasSubmitListener</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines whether YAHOO.util.Event is available and returns true or false.
|
|
If true, an event listener is bound at the document level to trap click events that
|
|
resolve to a target type of "Submit". This listener will enable setForm() to determine
|
|
the clicked "Submit" value in a multi-Submit button, HTML form.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__http_header">_http_header</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Object literal of HTTP header(s)
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__isFileUpload">_isFileUpload</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Property modified by setForm() to determine if a file(s)
|
|
upload is expected.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__isFormSubmit">_isFormSubmit</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Property modified by setForm() to determine if the data
|
|
should be submitted as an HTML form.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__msxml_progid">_msxml_progid</a>
|
|
<code>- private static array</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Array of MSFT ActiveX ids for XMLHttpRequest.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__poll">_poll</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Collection of polling references to the polling mechanism in handleReadyState.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__polling_interval">_polling_interval</a>
|
|
<code>- private static int</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
The polling frequency, in milliseconds, for HandleReadyState.
|
|
when attempting to determine a transaction's XHR readyState.
|
|
The default is 50 milliseconds.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__sFormData">_sFormData</a>
|
|
<code>- private static string</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Property modified by setForm() to set the HTML form data
|
|
for each transaction.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__submitElementValue">_submitElementValue</a>
|
|
<code>- private static string</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Tracks the name-value pair of the "clicked" submit button if multiple submit
|
|
buttons are present in an HTML form; and, if YAHOO.util.Event is available.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__timeOut">_timeOut</a>
|
|
<code>- private static object</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Queue of timeout values for each transaction callback with a defined timeout value.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__transaction_id">_transaction_id</a>
|
|
<code>- private static int</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
A transaction counter that increments the transaction id for each transaction.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__use_default_post_header">_use_default_post_header</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines if a default header of
|
|
Content-Type of 'application/x-www-form-urlencoded'
|
|
will be added to any client HTTP headers sent for POST
|
|
transactions.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property__use_default_xhr_header">_use_default_xhr_header</a>
|
|
<code>- private static boolean</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Determines if a default header of
|
|
'X-Requested-With: XMLHttpRequest'
|
|
will be added to each transaction.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property_abortEvent">abortEvent</a>
|
|
<code>- private static CustomEvent</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Custom event that fires when a transaction is successfully aborted.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property_completeEvent">completeEvent</a>
|
|
<code>- private static CustomEvent</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Custom event that fires when a transaction response has completed.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property_failureEvent">failureEvent</a>
|
|
<code>- private static CustomEvent</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Custom event that fires when handleTransactionResponse() determines a
|
|
response in the HTTP 4xx/5xx range.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property_startEvent">startEvent</a>
|
|
<code>- private static CustomEvent</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Custom event that fires at the start of a transaction
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4><a name="property_successEvent">successEvent</a>
|
|
<code>- private static CustomEvent</code>
|
|
</h4>
|
|
<div class="detail">
|
|
<div class="description">
|
|
Custom event that fires when handleTransactionResponse() determines a
|
|
response in the HTTP 2xx range.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="section method details">
|
|
<h3 id="methods">Methods</h3>
|
|
<div class="content">
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_abort">abort</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
boolean
|
|
<strong>abort</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
,
|
|
isTimeout
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Method to terminate a transaction, if it has not reached readyState 4.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object returned by asyncRequest.
|
|
</dd>
|
|
<dd>
|
|
<code>callback <object></code>
|
|
User-defined callback object.
|
|
</dd>
|
|
<dd>
|
|
<code>isTimeout <string></code>
|
|
boolean to indicate if abort resulted from a callback timeout.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
boolean
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_appendPostData">appendPostData</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
array
|
|
<strong>appendPostData</strong>
|
|
(
|
|
|
|
|
|
postData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Parses the POST data and creates hidden form elements
|
|
for each key-value, and appends them to the HTML form object.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>postData <string></code>
|
|
The HTTP POST data
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
array
|
|
</code></dt>
|
|
<dd>formElements Collection of hidden fields.</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_asyncRequest">asyncRequest</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
object
|
|
<strong>asyncRequest</strong>
|
|
(
|
|
|
|
|
|
method
|
|
|
|
|
|
,
|
|
uri
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
,
|
|
postData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Method for initiating an asynchronous request via the XHR object.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>method <string></code>
|
|
HTTP transaction method
|
|
</dd>
|
|
<dd>
|
|
<code>uri <string></code>
|
|
Fully qualified path of resource
|
|
</dd>
|
|
<dd>
|
|
<code>callback <callback></code>
|
|
User-defined callback function or object
|
|
</dd>
|
|
<dd>
|
|
<code>postData <string></code>
|
|
POST body
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
object
|
|
</code></dt>
|
|
<dd>Returns the connection object</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_createExceptionObject">createExceptionObject</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
object
|
|
<strong>createExceptionObject</strong>
|
|
(
|
|
|
|
|
|
tId
|
|
|
|
|
|
,
|
|
callbackArg
|
|
|
|
|
|
,
|
|
isAbort
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
If a transaction cannot be completed due to dropped or closed connections,
|
|
there may be not be enough information to build a full response object.
|
|
The failure callback will be fired and this specific condition can be identified
|
|
by a status property value of 0.
|
|
If an abort was successful, the status property will report a value of -1.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>tId <int></code>
|
|
The Transaction Id
|
|
</dd>
|
|
<dd>
|
|
<code>callbackArg <callbackArg></code>
|
|
The user-defined argument or arguments to be passed to the callback
|
|
</dd>
|
|
<dd>
|
|
<code>isAbort <boolean></code>
|
|
Determines if the exception case is caused by a transaction abort
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
object
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_createFrame">createFrame</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>createFrame</strong>
|
|
(
|
|
|
|
|
|
optional
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Creates an iframe to be used for form file uploads. It is remove from the
|
|
document upon completion of the upload transaction.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>optional <string></code>
|
|
qualified path of iframe resource for SSL in IE.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_createResponseObject">createResponseObject</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
object
|
|
<strong>createResponseObject</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
,
|
|
callbackArg
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method evaluates the server response, creates and returns the results via
|
|
its properties. Success and failure cases will differ in the response
|
|
object's property values.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object
|
|
</dd>
|
|
<dd>
|
|
<code>callbackArg <callbackArg></code>
|
|
The user-defined argument or arguments to be passed to the callback
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
object
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_createXhrObject">createXhrObject</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>createXhrObject</strong>
|
|
(
|
|
|
|
|
|
transactionId
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Instantiates a XMLHttpRequest object and returns an object with two properties:
|
|
the XMLHttpRequest instance and the transaction id.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>transactionId <int></code>
|
|
Property containing the transaction id for this transaction.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>object</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_getConnectionObject">getConnectionObject</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
object
|
|
<strong>getConnectionObject</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method is called by asyncRequest to create a
|
|
valid connection object for the transaction. It also passes a
|
|
transaction id and increments the transaction id counter.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
object
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_handleReadyState">handleReadyState</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>handleReadyState</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method serves as a timer that polls the XHR object's readyState
|
|
property during a transaction, instead of binding a callback to the
|
|
onreadystatechange event. Upon readyState 4, handleTransactionResponse
|
|
will process the response, and the timer will be cleared.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object
|
|
</dd>
|
|
<dd>
|
|
<code>callback <callback></code>
|
|
The user-defined callback object
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_handleTransactionResponse">handleTransactionResponse</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>handleTransactionResponse</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
,
|
|
isAbort
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method attempts to interpret the server response and
|
|
determine whether the transaction was successful, or if an error or
|
|
exception was encountered.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object
|
|
</dd>
|
|
<dd>
|
|
<code>callback <object></code>
|
|
The user-defined callback object
|
|
</dd>
|
|
<dd>
|
|
<code>isAbort <boolean></code>
|
|
Determines if the transaction was terminated via abort().
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_initCustomEvents">initCustomEvents</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>initCustomEvents</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method creates and subscribes custom events,
|
|
specific to each transaction
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object
|
|
</dd>
|
|
<dd>
|
|
<code>callback <callback></code>
|
|
The user-defined callback object
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_initHeader">initHeader</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>initHeader</strong>
|
|
(
|
|
|
|
|
|
label
|
|
|
|
|
|
,
|
|
value
|
|
|
|
|
|
,
|
|
isDefault
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Method that initializes the custom HTTP headers for the each transaction.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>label <string></code>
|
|
The HTTP header label
|
|
</dd>
|
|
<dd>
|
|
<code>value <string></code>
|
|
The HTTP header value
|
|
</dd>
|
|
<dd>
|
|
<code>isDefault <string></code>
|
|
Determines if the specific header is a default header
|
|
automatically sent with each transaction.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_isCallInProgress">isCallInProgress</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
boolean
|
|
<strong>isCallInProgress</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Public method to check if the transaction is still being processed.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object returned by asyncRequest
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
boolean
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_releaseObject">releaseObject</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>releaseObject</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Dereference the XHR instance and the connection object after the transaction is completed.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_resetDefaultHeaders">resetDefaultHeaders</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>resetDefaultHeaders</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Resets the default HTTP headers object
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_resetFormState">resetFormState</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>resetFormState</strong>
|
|
(
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Resets HTML form properties when an HTML form or HTML form
|
|
with file upload transaction is sent.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_setDefaultPostHeader">setDefaultPostHeader</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>setDefaultPostHeader</strong>
|
|
(
|
|
|
|
|
|
b
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Member to enable or disable the default POST header.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>b <boolean></code>
|
|
Set and use default header - true or false .
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>void</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_setDefaultXhrHeader">setDefaultXhrHeader</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>setDefaultXhrHeader</strong>
|
|
(
|
|
|
|
|
|
b
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Member to enable or disable the default POST header.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>b <boolean></code>
|
|
Set and use default header - true or false .
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>void</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_setForm">setForm</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
string
|
|
<strong>setForm</strong>
|
|
(
|
|
|
|
|
|
form
|
|
|
|
|
|
,
|
|
optional
|
|
|
|
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
This method assembles the form label and value pairs and
|
|
constructs an encoded string.
|
|
asyncRequest() will automatically initialize the transaction with a
|
|
a HTTP header Content-Type of application/x-www-form-urlencoded.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>form <string || object></code>
|
|
id or name attribute, or form object.
|
|
</dd>
|
|
<dd>
|
|
<code>optional <boolean></code>
|
|
enable file upload.
|
|
</dd>
|
|
<dd>
|
|
<code>optional <boolean></code>
|
|
enable file upload over SSL in IE only.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
string
|
|
</code></dt>
|
|
<dd>string of the HTML form field name and value pairs..</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_setHeader">setHeader</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>setHeader</strong>
|
|
(
|
|
|
|
|
|
o
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Accessor that sets the HTTP headers for each transaction.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>o <object></code>
|
|
The connection object for the transaction.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_setPollingInterval">setPollingInterval</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>setPollingInterval</strong>
|
|
(
|
|
|
|
|
|
i
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Member to modify the default polling interval.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>i <int></code>
|
|
The polling interval in milliseconds.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>void</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="">
|
|
<h4>
|
|
<a name="method_setProgId">setProgId</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
|
|
static
|
|
|
|
void
|
|
<strong>setProgId</strong>
|
|
(
|
|
|
|
|
|
id
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Member to add an ActiveX id to the existing xml_progid array.
|
|
In the event(unlikely) a new ActiveX id is introduced, it can be added
|
|
without internal code modifications.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>id <string></code>
|
|
The ActiveX id to be added to initialize the XHR object.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd>void</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
<div class="private">
|
|
<h4>
|
|
<a name="method_uploadFile">uploadFile</a></h4>
|
|
<div class="detail">
|
|
<code>
|
|
private
|
|
static
|
|
|
|
void
|
|
<strong>uploadFile</strong>
|
|
(
|
|
|
|
|
|
id
|
|
|
|
|
|
,
|
|
callback
|
|
|
|
|
|
,
|
|
uri
|
|
|
|
|
|
,
|
|
postData
|
|
|
|
|
|
)
|
|
</code>
|
|
|
|
<div class="description">
|
|
Uploads HTML form, inclusive of files/attachments, using the
|
|
iframe created in createFrame to facilitate the transaction.
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
<dl>
|
|
<dt>Parameters:</dt>
|
|
<dd>
|
|
<code>id <int></code>
|
|
The transaction id.
|
|
</dd>
|
|
<dd>
|
|
<code>callback <object></code>
|
|
User-defined callback object.
|
|
</dd>
|
|
<dd>
|
|
<code>uri <string></code>
|
|
Fully qualified path of resource.
|
|
</dd>
|
|
<dd>
|
|
<code>postData <string></code>
|
|
POST data to be submitted in addition to HTML form.
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Returns:
|
|
<code>
|
|
void
|
|
</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<hr />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<div class="nav">
|
|
|
|
<div class="module">
|
|
<h4>Modules</h4>
|
|
<ul class="content">
|
|
|
|
<li class=""><a href="module_animation.html">animation</a></li>
|
|
|
|
<li class=""><a href="module_autocomplete.html">autocomplete</a></li>
|
|
|
|
<li class=""><a href="module_button.html">button</a></li>
|
|
|
|
<li class=""><a href="module_calendar.html">calendar</a></li>
|
|
|
|
<li class=""><a href="module_charts.html">charts</a></li>
|
|
|
|
<li class=""><a href="module_colorpicker.html">colorpicker</a></li>
|
|
|
|
<li class="selected"><a href="module_connection.html">connection</a></li>
|
|
|
|
<li class=""><a href="module_container.html">container</a></li>
|
|
|
|
<li class=""><a href="module_cookie.html">cookie</a></li>
|
|
|
|
<li class=""><a href="module_datasource.html">datasource</a></li>
|
|
|
|
<li class=""><a href="module_datatable.html">datatable</a></li>
|
|
|
|
<li class=""><a href="module_dom.html">dom</a></li>
|
|
|
|
<li class=""><a href="module_dragdrop.html">dragdrop</a></li>
|
|
|
|
<li class=""><a href="module_editor.html">editor</a></li>
|
|
|
|
<li class=""><a href="module_element.html">element</a></li>
|
|
|
|
<li class=""><a href="module_event.html">event</a></li>
|
|
|
|
<li class=""><a href="module_get.html">get</a></li>
|
|
|
|
<li class=""><a href="module_history.html">history</a></li>
|
|
|
|
<li class=""><a href="module_imagecropper.html">imagecropper</a></li>
|
|
|
|
<li class=""><a href="module_imageloader.html">imageloader</a></li>
|
|
|
|
<li class=""><a href="module_json.html">json</a></li>
|
|
|
|
<li class=""><a href="module_layout.html">layout</a></li>
|
|
|
|
<li class=""><a href="module_logger.html">logger</a></li>
|
|
|
|
<li class=""><a href="module_menu.html">menu</a></li>
|
|
|
|
<li class=""><a href="module_profiler.html">profiler</a></li>
|
|
|
|
<li class=""><a href="module_profilerviewer.html">profilerviewer</a></li>
|
|
|
|
<li class=""><a href="module_resize.html">resize</a></li>
|
|
|
|
<li class=""><a href="module_selector.html">selector</a></li>
|
|
|
|
<li class=""><a href="module_slider.html">slider</a></li>
|
|
|
|
<li class=""><a href="module_tabview.html">tabview</a></li>
|
|
|
|
<li class=""><a href="module_treeview.html">treeview</a></li>
|
|
|
|
<li class=""><a href="module_uploader.html">uploader</a></li>
|
|
|
|
<li class=""><a href="module_yahoo.html">yahoo</a></li>
|
|
|
|
<li class=""><a href="module_yuiloader.html">yuiloader</a></li>
|
|
|
|
<li class=""><a href="module_yuitest.html">yuitest</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Classes</h4>
|
|
<ul class="content">
|
|
<li class="selected"><a href="YAHOO.util.Connect.html">YAHOO.util.Connect</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Files</h4>
|
|
<ul class="content">
|
|
<li class=""><a href="connection.js.html">connection.js</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Properties</h4>
|
|
<ul class="content">
|
|
<li class="private"><a href="#property__customEvents">_customEvents</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__default_post_header">_default_post_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__default_xhr_header">_default_xhr_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__formNode">_formNode</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__has_default_header">_has_default_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__has_http_headers">_has_http_headers</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__hasSubmitListener">_hasSubmitListener</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__http_header">_http_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__isFileUpload">_isFileUpload</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__isFormSubmit">_isFormSubmit</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__msxml_progid">_msxml_progid</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__poll">_poll</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__polling_interval">_polling_interval</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__sFormData">_sFormData</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__submitElementValue">_submitElementValue</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__timeOut">_timeOut</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__transaction_id">_transaction_id</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__use_default_post_header">_use_default_post_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property__use_default_xhr_header">_use_default_xhr_header</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property_abortEvent">abortEvent</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property_completeEvent">completeEvent</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property_failureEvent">failureEvent</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property_startEvent">startEvent</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
<li class="private"><a href="#property_successEvent">successEvent</a>
|
|
<!--<code><CustomEvent></code>-->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="module">
|
|
<h4>Methods</h4>
|
|
<ul class="content">
|
|
<li class=""><!--<code>boolean</code>-->
|
|
<a href="#method_abort">abort</a>
|
|
</li>
|
|
<li class="private"><!--<code>array</code>-->
|
|
<a href="#method_appendPostData">appendPostData</a>
|
|
</li>
|
|
<li class=""><!--<code>object</code>-->
|
|
<a href="#method_asyncRequest">asyncRequest</a>
|
|
</li>
|
|
<li class="private"><!--<code>object</code>-->
|
|
<a href="#method_createExceptionObject">createExceptionObject</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_createFrame">createFrame</a>
|
|
</li>
|
|
<li class="private"><!--<code>object</code>-->
|
|
<a href="#method_createResponseObject">createResponseObject</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_createXhrObject">createXhrObject</a>
|
|
</li>
|
|
<li class="private"><!--<code>object</code>-->
|
|
<a href="#method_getConnectionObject">getConnectionObject</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_handleReadyState">handleReadyState</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_handleTransactionResponse">handleTransactionResponse</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_initCustomEvents">initCustomEvents</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_initHeader">initHeader</a>
|
|
</li>
|
|
<li class=""><!--<code>boolean</code>-->
|
|
<a href="#method_isCallInProgress">isCallInProgress</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_releaseObject">releaseObject</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_resetDefaultHeaders">resetDefaultHeaders</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_resetFormState">resetFormState</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_setDefaultPostHeader">setDefaultPostHeader</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_setDefaultXhrHeader">setDefaultXhrHeader</a>
|
|
</li>
|
|
<li class=""><!--<code>string</code>-->
|
|
<a href="#method_setForm">setForm</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_setHeader">setHeader</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_setPollingInterval">setPollingInterval</a>
|
|
</li>
|
|
<li class=""><!--<code>void</code>-->
|
|
<a href="#method_setProgId">setProgId</a>
|
|
</li>
|
|
<li class="private"><!--<code>void</code>-->
|
|
<a href="#method_uploadFile">uploadFile</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="ft">
|
|
<hr />
|
|
Copyright © 2007 Yahoo! Inc. All rights reserved.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|