JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
G
I
L
M
N
O
P
R
S
T
A
allow(Class<?>)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allow(Class<?>)
- Method in interface delight.nashornsandbox.
NashornSandbox
Add a new class to the list of allowed classes.
allowExitFunctions
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowExitFunctions(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowExitFunctions(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Allow Nashorn quit and exit functions.
allowGlobalsObjects
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowGlobalsObjects(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowGlobalsObjects(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Allow Nashorn globals object $ARG, $ENV, $EXEC, $OPTIONS, $OUT, $ERR and $EXIT.
allowLoadFunctions
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowLoadFunctions(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowLoadFunctions(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Allow Nashorn load and loadWithNewGlobal functions.
allowNoBraces
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowNoBraces(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowNoBraces(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Force, to check if all blocks are enclosed with curly braces "{}".
allowPrintFunctions
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowPrintFunctions(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowPrintFunctions(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Allow Nashorn print and echo functions.
allowReadFunctions
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowReadFunctions(boolean)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
allowReadFunctions(boolean)
- Method in interface delight.nashornsandbox.
NashornSandbox
Allow Nashorn readLine and readFully functions.
B
BracesException
- Exception in
delight.nashornsandbox.exceptions
Exception thrown when braces "{}" are missed in JS script, when it is not allowed.
BracesException(String)
- Constructor for exception delight.nashornsandbox.exceptions.
BracesException
C
create()
- Static method in class delight.nashornsandbox.
NashornSandboxes
Creates a new sandbox instance.
create(String...)
- Static method in class delight.nashornsandbox.
NashornSandboxes
Create a sandbox while supplying arguments for the engine such as '--no-java'.
createBindings()
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
createBindings()
- Method in interface delight.nashornsandbox.
NashornSandbox
Create new bindings used to replace the state of the current script engine
D
DEFAULT
- Static variable in class delight.nashornsandbox.internal.
RemoveComments
delight.nashornsandbox
- package delight.nashornsandbox
delight.nashornsandbox.exceptions
- package delight.nashornsandbox.exceptions
delight.nashornsandbox.internal
- package delight.nashornsandbox.internal
disallow(Class<?>)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
disallow(Class<?>)
- Method in interface delight.nashornsandbox.
NashornSandbox
Remove a class from the list of allowed classes.
disallowAllClasses()
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
disallowAllClasses()
- Method in interface delight.nashornsandbox.
NashornSandbox
Remove all classes from the list of allowed classes.
E
engineAsserted
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
ESCAPE
- Static variable in class delight.nashornsandbox.internal.
RemoveComments
eval(String)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
eval(String, ScriptContext)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
eval(String)
- Method in interface delight.nashornsandbox.
NashornSandbox
Evaluates the JavaScript string.
eval(String, ScriptContext)
- Method in interface delight.nashornsandbox.
NashornSandbox
Evaluates the JavaScript string for a given script context
EvaluateOperation
- Class in
delight.nashornsandbox.internal
EvaluateOperation(String, ScriptContext)
- Constructor for class delight.nashornsandbox.internal.
EvaluateOperation
evaluator
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
executeScriptEngineOperation(ScriptEngine)
- Method in class delight.nashornsandbox.internal.
EvaluateOperation
executeScriptEngineOperation(ScriptEngine)
- Method in class delight.nashornsandbox.internal.
InvokeOperation
executeScriptEngineOperation(ScriptEngine)
- Method in interface delight.nashornsandbox.internal.
ScriptEngineOperation
executor
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
G
get(String)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
get(String)
- Method in interface delight.nashornsandbox.
NashornSandbox
Obtains the value of the specified JavaScript variable.
getExecutor()
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
getExecutor()
- Method in interface delight.nashornsandbox.
NashornSandbox
Gets the current executor service.
getJs()
- Method in class delight.nashornsandbox.internal.
EvaluateOperation
getMessage()
- Method in exception delight.nashornsandbox.exceptions.
ScriptAbuseException
getSandboxedInvocable()
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
getSandboxedInvocable()
- Method in interface delight.nashornsandbox.
NashornSandbox
Returns an
Invocable
instance, so that method invocations are also sandboxed.
getScriptContext()
- Method in class delight.nashornsandbox.internal.
EvaluateOperation
I
inject(String, Object)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
inject(String, Object)
- Method in interface delight.nashornsandbox.
NashornSandbox
Will add a global variable available to all scripts executed with this sandbox.
InterruptTest
- Class in
delight.nashornsandbox.internal
Class avaliable in JavaScript engine to check if engine thread is interrupted.
InterruptTest()
- Constructor for class delight.nashornsandbox.internal.
InterruptTest
InvokeOperation
- Class in
delight.nashornsandbox.internal
InvokeOperation(Object, String, Object[])
- Constructor for class delight.nashornsandbox.internal.
InvokeOperation
isAllowed(Class<?>)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
isAllowed(Class<?>)
- Method in interface delight.nashornsandbox.
NashornSandbox
Check if a class is in the list of allowed classes.
isCPULimitExceeded()
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
isMemoryLimitExceeded()
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
isScriptKilled()
- Method in exception delight.nashornsandbox.exceptions.
ScriptAbuseException
Check if script when asked exited nicely, or not.
isScriptKilled()
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
L
lazyInvocable
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
M
maxCPUTime
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
Maximum CPU time in milliseconds.
maxMemory
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
Maximum memory of executor thread used.
maxPreparedStatements
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
The size of the LRU cache of prepared statemensts.
MULTI_LINE
- Static variable in class delight.nashornsandbox.internal.
RemoveComments
N
NashornSandbox
- Interface in
delight.nashornsandbox
The Nashorn sandbox interface.
NashornSandboxes
- Class in
delight.nashornsandbox
The Nashorn sandbox factory.
NashornSandboxes()
- Constructor for class delight.nashornsandbox.
NashornSandboxes
NashornSandboxImpl
- Class in
delight.nashornsandbox.internal
Nashorn sandbox implementation.
NashornSandboxImpl()
- Constructor for class delight.nashornsandbox.internal.
NashornSandboxImpl
NashornSandboxImpl(String...)
- Constructor for class delight.nashornsandbox.internal.
NashornSandboxImpl
O
ONE_LINE
- Static variable in class delight.nashornsandbox.internal.
RemoveComments
P
perform(String)
- Static method in class delight.nashornsandbox.internal.
RemoveComments
R
RemoveComments
- Class in
delight.nashornsandbox.internal
Based on https://codegolf.stackexchange.com/questions/48326/remove-single-line-and-multiline-comments-from-string
RemoveComments()
- Constructor for class delight.nashornsandbox.internal.
RemoveComments
S
sandboxClassFilter
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
sanitizer
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
ScriptAbuseException
- Exception in
delight.nashornsandbox.exceptions
Exception is thrown when JS script abuse was detected.
ScriptAbuseException(String, boolean, Throwable)
- Constructor for exception delight.nashornsandbox.exceptions.
ScriptAbuseException
ScriptCPUAbuseException
- Exception in
delight.nashornsandbox.exceptions
Exception thrown when script runtime exides given limit.
ScriptCPUAbuseException(String, boolean, Throwable)
- Constructor for exception delight.nashornsandbox.exceptions.
ScriptCPUAbuseException
scriptEngine
- Variable in class delight.nashornsandbox.internal.
NashornSandboxImpl
ScriptEngineOperation
- Interface in
delight.nashornsandbox.internal
scriptFinished()
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
ScriptMemoryAbuseException
- Exception in
delight.nashornsandbox.exceptions
Exception thrown when script memory usage exides given limit.
ScriptMemoryAbuseException(String, boolean, Throwable)
- Constructor for exception delight.nashornsandbox.exceptions.
ScriptMemoryAbuseException
setExecutor(ExecutorService)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
setExecutor(ExecutorService)
- Method in interface delight.nashornsandbox.
NashornSandbox
Specifies the executor service which is used to run scripts when a CPU time limit is specified.
setMaxCPUTime(long)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
setMaxCPUTime(long)
- Method in interface delight.nashornsandbox.
NashornSandbox
Sets the maximum CPU time in milliseconds allowed for script execution.
setMaxMemory(long)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
setMaxMemory(long)
- Method in interface delight.nashornsandbox.
NashornSandbox
Sets the maximum memory in Bytes which JS executor thread can allocate.
setMaxPreparedStatements(int)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
setMaxPreparedStatements(int)
- Method in interface delight.nashornsandbox.
NashornSandbox
The size of prepared statements LRU cache.
setThreadToMonitor(Thread)
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
setWriter(Writer)
- Method in class delight.nashornsandbox.internal.
NashornSandboxImpl
setWriter(Writer)
- Method in interface delight.nashornsandbox.
NashornSandbox
Sets the writer, whem want to have output from writer function called in JS script
stopMonitor()
- Method in class delight.nashornsandbox.internal.
ThreadMonitor
STRING
- Static variable in class delight.nashornsandbox.internal.
RemoveComments
T
test()
- Static method in class delight.nashornsandbox.internal.
InterruptTest
ThreadMonitor
- Class in
delight.nashornsandbox.internal
JS executor thread monitor.
A
B
C
D
E
G
I
L
M
N
O
P
R
S
T
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2018. All rights reserved.