@Deprecated public class XmlHTTPRequest extends MBScriptableObject
Modifier and Type | Field and Description |
---|---|
org.apache.http.client.HttpClient |
myClient
Deprecated.
HTTP Client.
|
Constructor and Description |
---|
XmlHTTPRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
jsConstructor(java.lang.String theUrl)
Deprecated.
Javascript constructor.
|
void |
(JavaScript Function) addParameter(java.lang.String theName,
java.lang.String theValue)
Deprecated.
Adds the specified property with the specified value.
|
void |
(JavaScript Function) cleanParameters()
Deprecated.
Clears the parameter map so that it contains no keys.
|
java.lang.Object |
(JavaScript Function) invoke()
Deprecated.
Invoke the request synchronously.
|
void |
(JavaScript Function) invokeAsync(org.mozilla.javascript.Function theCallbackMethod)
Deprecated.
Invoke the request asynchronously.
|
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)
theUrl
- the URLpublic void (JavaScript Function) addParameter(java.lang.String theName, java.lang.String theValue)
theName
- the property name.theValue
- the specified value.public void (JavaScript Function) cleanParameters()
public void (JavaScript Function) invokeAsync(org.mozilla.javascript.Function theCallbackMethod) throws java.io.UnsupportedEncodingException
theCallbackMethod
- The callback method to run when the request is complete.java.io.UnsupportedEncodingException
- If the request encoding is invalidpublic java.lang.Object (JavaScript Function) invoke() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
- If the request encoding is invalidCopyright © 2017 MediaBeacon, Inc. All Rights Reserved.