public class AJAX extends MBScriptableObject
Constructor and Description |
---|
AJAX() |
Modifier and Type | Method and Description |
---|---|
void |
jsConstructor(java.lang.String theUrl,
java.lang.Object theObject)
Javascript constructor for AJAX object.
|
boolean |
(JavaScript Function) addBinaryChunk(IFileObject theFile,
int theChunkIndex,
int theChunkSize,
java.lang.String theParamKey)
Called before execute, this function adds the binary chunk to a multipart POST request
|
void |
(JavaScript Function) execute()
Execute the configured AJAX request.
|
java.lang.String |
(JavaScript Function) printRequest()
Builds a string form of the Request based on the object passed to the constructor
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public void jsConstructor(java.lang.String theUrl, java.lang.Object theObject)
theUrl
- Target urltheObject
- Javascript object of parameters, modeled after jQuery.ajax.public void (JavaScript Function) execute()
public java.lang.String (JavaScript Function) printRequest()
public boolean (JavaScript Function) addBinaryChunk(IFileObject theFile, int theChunkIndex, int theChunkSize, java.lang.String theParamKey) throws java.lang.Exception
theFile
- the file to chunktheChunkIndex
- the index of the chunk starting at 0theChunkSize
- the size of the chunk to sendtheParamKey
- the Key to associate with the chunk in the requestjava.lang.Exception
Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.