public class ConnectionImpl
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_NAME |
| Constructor and Description |
|---|
ConnectionImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
construct(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctor,
boolean inNew)
Constructor -- set up all the params passed by "tls.js".
|
String |
getClassName() |
static Object |
getCurrentCipher(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
Object |
getError() |
org.mozilla.javascript.Function |
getHandshakeDone() |
org.mozilla.javascript.Function |
getHandshakeStart() |
org.mozilla.javascript.Function |
getOnError() |
org.mozilla.javascript.Function |
getOnUnwrap() |
org.mozilla.javascript.Function |
getOnWrap() |
static Object |
getPeerCertificate(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
getSession(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static void |
init(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
Finish initialization by creating the SSLEngine, etc.
|
static boolean |
isInitFinished(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
boolean |
isReceivedShutdown() |
boolean |
isSentShutdown() |
static boolean |
isSessionReused(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static void |
loadSession(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
void |
setHandshakeDone(org.mozilla.javascript.Function f) |
void |
setHandshakeStart(org.mozilla.javascript.Function f) |
void |
setOnError(org.mozilla.javascript.Function f) |
void |
setOnUnwrap(org.mozilla.javascript.Function f) |
void |
setOnWrap(org.mozilla.javascript.Function f) |
static void |
setSession(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static void |
shutdown(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static void |
shutdownInbound(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static int |
start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
Initialize the client side of an SSL conversation by pushing an artificial write record on the queue.
|
static void |
unwrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static Object |
verifyError(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
static void |
wrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func) |
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@JSConstructor public static Object construct(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function ctor, boolean inNew)
@JSFunction
public static void init(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static int start(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSSetter(value="onhandshakestart") public void setHandshakeStart(org.mozilla.javascript.Function f)
@JSGetter(value="onhandshakestart") public org.mozilla.javascript.Function getHandshakeStart()
@JSSetter(value="onhandshakedone") public void setHandshakeDone(org.mozilla.javascript.Function f)
@JSGetter(value="onhandshakedone") public org.mozilla.javascript.Function getHandshakeDone()
@JSSetter(value="onwrap") public void setOnWrap(org.mozilla.javascript.Function f)
@JSGetter(value="onwrap") public org.mozilla.javascript.Function getOnWrap()
@JSSetter(value="onunwrap") public void setOnUnwrap(org.mozilla.javascript.Function f)
@JSGetter(value="onunwrap") public org.mozilla.javascript.Function getOnUnwrap()
@JSSetter(value="onerror") public void setOnError(org.mozilla.javascript.Function f)
@JSGetter(value="onerror") public org.mozilla.javascript.Function getOnError()
@JSGetter(value="error") public Object getError()
@JSGetter(value="sentShutdown") public boolean isSentShutdown()
@JSGetter(value="receivedShutdown") public boolean isReceivedShutdown()
@JSFunction
public static void close(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void wrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void shutdown(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void shutdownInbound(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void unwrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public static Object getPeerCertificate(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
@JSFunction public static Object getSession(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
@JSFunction
public static void setSession(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static void loadSession(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static boolean isSessionReused(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction
public static boolean isInitFinished(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function func)
@JSFunction public static Object verifyError(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function func)
Copyright © 2016 Apigee Corporation. All Rights Reserved.