public class XMLHttpRequestExchange
extends org.mozilla.javascript.ScriptableObject
Modifier and Type | Class and Description |
---|---|
static class |
XMLHttpRequestExchange.CometDExchange |
Constructor and Description |
---|
XMLHttpRequestExchange() |
Modifier and Type | Method and Description |
---|---|
void |
await() |
String |
getClassName() |
boolean |
isAsynchronous() |
void |
jsConstructor(Object client,
Object threadModel,
org.mozilla.javascript.Scriptable thiz,
String method,
String url,
boolean async) |
void |
jsFunction_abort() |
void |
jsFunction_addRequestHeader(String name,
String value) |
String |
jsFunction_getAllResponseHeaders() |
String |
jsFunction_getResponseHeader(String name) |
void |
jsFunction_send() |
void |
jsFunction_setRequestContent(String data) |
String |
jsGet_method() |
int |
jsGet_readyState() |
int |
jsGet_responseStatus() |
String |
jsGet_responseStatusText() |
String |
jsGet_responseText() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
public void jsConstructor(Object client, Object threadModel, org.mozilla.javascript.Scriptable thiz, String method, String url, boolean async)
public String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public boolean isAsynchronous()
public void await() throws InterruptedException, ExecutionException, TimeoutException
public String jsGet_method()
public void jsFunction_setRequestContent(String data) throws UnsupportedEncodingException
UnsupportedEncodingException
public int jsGet_readyState()
public String jsGet_responseText()
public int jsGet_responseStatus()
public String jsGet_responseStatusText()
public void jsFunction_abort()
public String jsFunction_getAllResponseHeaders()
Copyright © 2008–2017 The CometD Project. All rights reserved.