public class XMLHttpRequestExchange
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
XMLHttpRequestExchange.CometDExchange |
| Constructor | Description |
|---|---|
XMLHttpRequestExchange() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
await() |
|
java.lang.String |
getClassName() |
|
boolean |
isAsynchronous() |
|
void |
jsConstructor(java.lang.Object client,
java.lang.Object threadModel,
org.mozilla.javascript.Scriptable thiz,
java.lang.String method,
java.lang.String url,
boolean async) |
|
void |
jsFunction_abort() |
|
void |
jsFunction_addRequestHeader(java.lang.String name,
java.lang.String value) |
|
java.lang.String |
jsFunction_getAllResponseHeaders() |
|
java.lang.String |
jsFunction_getResponseHeader(java.lang.String name) |
|
void |
jsFunction_send() |
|
void |
jsFunction_setRequestContent(java.lang.String data) |
|
java.lang.String |
jsGet_method() |
|
int |
jsGet_readyState() |
|
int |
jsGet_responseStatus() |
|
java.lang.String |
jsGet_responseStatusText() |
|
java.lang.String |
jsGet_responseText() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyDescriptorToAttributeBitset, 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, sizepublic void jsConstructor(java.lang.Object client,
java.lang.Object threadModel,
org.mozilla.javascript.Scriptable thiz,
java.lang.String method,
java.lang.String url,
boolean async)
public java.lang.String getClassName()
getClassName in class org.mozilla.javascript.ScriptableObjectpublic boolean isAsynchronous()
public void await()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutExceptionpublic void jsFunction_addRequestHeader(java.lang.String name,
java.lang.String value)
public java.lang.String jsGet_method()
public void jsFunction_setRequestContent(java.lang.String data)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic int jsGet_readyState()
public java.lang.String jsGet_responseText()
public int jsGet_responseStatus()
public java.lang.String jsGet_responseStatusText()
public void jsFunction_abort()
public java.lang.String jsFunction_getAllResponseHeaders()
public java.lang.String jsFunction_getResponseHeader(java.lang.String name)
public void jsFunction_send()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2017 The CometD Project. All rights reserved.