public static class HTTPParser.ParserImpl
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static int |
REQUEST |
static int |
RESPONSE |
| Constructor and Description |
|---|
ParserImpl() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function ctorObj) |
static void |
finish(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function ctorObj) |
java.lang.String |
getClassName() |
org.mozilla.javascript.Function |
getOnBody() |
org.mozilla.javascript.Function |
getOnHeaders() |
org.mozilla.javascript.Function |
getOnHeadersComplete() |
org.mozilla.javascript.Function |
getOnMessageComplete() |
static java.lang.Object |
newParser(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function fn) |
void |
pause() |
void |
reinitialize(int type) |
void |
resume() |
void |
setOnBody(org.mozilla.javascript.Function onBody) |
void |
setOnHeaders(org.mozilla.javascript.Function onHeaders) |
void |
setOnHeadersComplete(org.mozilla.javascript.Function onHeadersComplete) |
void |
setOnMessageComplete(org.mozilla.javascript.Function onMessageComplete) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final java.lang.String CLASS_NAME
public static final int REQUEST
public static final int RESPONSE
public java.lang.String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic static java.lang.Object newParser(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function fn)
@JSGetter(value="onHeaders") public org.mozilla.javascript.Function getOnHeaders()
@JSSetter(value="onHeaders") public void setOnHeaders(org.mozilla.javascript.Function onHeaders)
@JSGetter(value="onHeadersComplete") public org.mozilla.javascript.Function getOnHeadersComplete()
@JSSetter(value="onHeadersComplete") public void setOnHeadersComplete(org.mozilla.javascript.Function onHeadersComplete)
@JSGetter(value="onBody") public org.mozilla.javascript.Function getOnBody()
@JSSetter(value="onBody") public void setOnBody(org.mozilla.javascript.Function onBody)
@JSGetter(value="onMessageComplete") public org.mozilla.javascript.Function getOnMessageComplete()
@JSSetter(value="onMessageComplete") public void setOnMessageComplete(org.mozilla.javascript.Function onMessageComplete)
@JSFunction public void reinitialize(int type)
@JSFunction public void pause()
@JSFunction public void resume()
@JSFunction
public static void finish(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function ctorObj)
@JSFunction
public static java.lang.Object execute(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
org.mozilla.javascript.Function ctorObj)
Copyright © 2018 Apigee Corporation. All Rights Reserved.