|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.javascript.ScriptableObject
org.cometd.XMLHttpRequestExchange
public class XMLHttpRequestExchange
| Nested Class Summary | |
|---|---|
static class |
XMLHttpRequestExchange.CometdExchange
|
| Field Summary |
|---|
| Fields inherited from class org.mozilla.javascript.ScriptableObject |
|---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
| Fields inherited from interface org.mozilla.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
XMLHttpRequestExchange()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
|
org.eclipse.jetty.client.HttpExchange |
getHttpExchange()
|
void |
jsConstructor(java.lang.Object threadModel,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thiz,
org.mozilla.javascript.Function function,
java.lang.String method,
java.lang.String url)
|
void |
jsFunction_addRequestHeader(java.lang.String name,
java.lang.String value)
|
void |
jsFunction_cancel()
|
java.lang.String |
jsFunction_getAllResponseHeaders()
|
java.lang.String |
jsFunction_getResponseHeader(java.lang.String name)
|
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()
|
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
|---|
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLHttpRequestExchange()
| Method Detail |
|---|
public void jsConstructor(java.lang.Object threadModel,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thiz,
org.mozilla.javascript.Function function,
java.lang.String method,
java.lang.String url)
public java.lang.String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic org.eclipse.jetty.client.HttpExchange getHttpExchange()
public 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_cancel()
public java.lang.String jsFunction_getAllResponseHeaders()
public java.lang.String jsFunction_getResponseHeader(java.lang.String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||