public static class HTTPWrap.RequestAdapter
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
HTTPWrap.RequestAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttachment() |
String |
getClassName() |
static org.mozilla.javascript.Scriptable |
getRequestHeaders(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
int |
getRequestMajorVersion() |
String |
getRequestMethod() |
int |
getRequestMinorVersion() |
String |
getRequestUrl() |
void |
pause()
adapterhttp.js calls this method when the "push" method on the request stream returns
"false" to indicate that the queue is too large.
|
void |
resume()
adapterhttp.js calls this method when _read is called and we had previously paused.
|
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, getExternalArrayData, getExternalArrayLength, 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, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASS_NAME
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject@JSGetter(value="attachment") public Object getAttachment()
@JSGetter(value="requestUrl") public String getRequestUrl()
@JSGetter(value="requestMajorVersion") public int getRequestMajorVersion()
@JSGetter(value="requestMinorVersion") public int getRequestMinorVersion()
@JSGetter(value="requestMethod") public String getRequestMethod()
@JSFunction
public static org.mozilla.javascript.Scriptable getRequestHeaders(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public void pause()
@JSFunction public void resume()
Copyright © 2016 Apigee Corporation. All Rights Reserved.