Class AjxPost

Object
   |
   +--AjxPost

class AjxPost


This singleton class makes an HTTP POST to the server and receives the response, passing returned data to a callback. This class is used to upload files from the client browser to the server using the file upload feature of POST.
Defined in AjxPost.js

Author: Conrad Damon


Field Summary
 Object _callback
          
 Object _iframeId
          
<static>  Object _outStandingRequests
          
<static>  Object _reqIds
          
<static>  Object SC_ACCEPTED
          
<static>  Object SC_BAD_GATEWAY
          
<static>  Object SC_BAD_REQUEST
          
<static>  Object SC_CONFLICT
          
<static>  Object SC_CONTINUE
          
<static>  Object SC_INTERNAL_SERVER_ERROR
          
<static>  Object SC_OK
          
<static>  Object SC_REQUEST_ENTITY_TOO_LARGE
          
<static>  Object SC_REQUEST_TIMEOUT
          
<static>  Object SC_SERVICE_UNAVAILABLE
          
<static>  Object SC_UNAUTHORIZED
          
 
Constructor Summary
AjxPost (iframeId)
            Resets the AjxPost object.
 
Method Summary
 void _onFailure(reqId)
          
 void execute(callback, form, optionalTimeout)
           Submits the form.
 void loaded(status, reqId, id)
           Processes the HTTP response from the form post.

Field Detail

_callback

Object _callback

_iframeId

Object _iframeId

_outStandingRequests

<static> Object _outStandingRequests

_reqIds

<static> Object _reqIds

SC_ACCEPTED

<static> Object SC_ACCEPTED

SC_BAD_GATEWAY

<static> Object SC_BAD_GATEWAY

SC_BAD_REQUEST

<static> Object SC_BAD_REQUEST

SC_CONFLICT

<static> Object SC_CONFLICT

SC_CONTINUE

<static> Object SC_CONTINUE

SC_INTERNAL_SERVER_ERROR

<static> Object SC_INTERNAL_SERVER_ERROR

SC_OK

<static> Object SC_OK

SC_REQUEST_ENTITY_TOO_LARGE

<static> Object SC_REQUEST_ENTITY_TOO_LARGE

SC_REQUEST_TIMEOUT

<static> Object SC_REQUEST_TIMEOUT

SC_SERVICE_UNAVAILABLE

<static> Object SC_SERVICE_UNAVAILABLE

SC_UNAUTHORIZED

<static> Object SC_UNAUTHORIZED

Constructor Detail

AjxPost

AjxPost(iframeId)

Method Detail

_onFailure

void _onFailure(reqId)

execute

void execute(callback, form, optionalTimeout)

loaded

void loaded(status, reqId, id)


Documentation generated by JSDoc on Thu Apr 27 13:58:40 2006