public class SandboxNativeJavaObject
extends org.mozilla.javascript.NativeJavaObject
NativeJavaObject that prevents using reflection to escape a sandbox.| Constructor and Description |
|---|
SandboxNativeJavaObject(org.mozilla.javascript.Scriptable scope,
Object javaObject,
Class<?> staticType) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
org.mozilla.javascript.Scriptable start) |
static Set<Method> |
getJavascriptMethods(Class<?> clazz) |
Copyright © 2016. All Rights Reserved.