public static class JavascriptWrapper.JsResponse
extends org.mozilla.javascript.ScriptableObject
| Constructor and Description |
|---|
JsResponse()
def ctor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
void |
jsConstructor()
initialises internal headers map.
|
void |
jsFunction_addHeader(String name,
String value) |
String |
jsFunction_header(String name,
int pos) |
String |
jsFunction_header0(String name) |
int |
jsFunction_headerListSize(String name) |
List<String> |
jsFunction_headers(String name) |
int |
jsFunction_headersSize() |
void |
jsFunction_putHeader(String name,
String value) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, 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, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic void jsConstructor()
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic void jsFunction_addHeader(String name, String value)
name - the header namevalue - the valuepublic void jsFunction_putHeader(String name, String value)
name - the header namevalue - the valuepublic int jsFunction_headerListSize(String name)
name - the header namepublic int jsFunction_headersSize()
public String jsFunction_header0(String name)
name - the header namepublic List<String> jsFunction_headers(String name)
name - the header nameCopyright © 2017 smartrics. All rights reserved.