public class UndertowJS extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UndertowJS.Builder |
static class |
UndertowJS.JavabeanIntrospector
class that is used to inspect java objects from scripts
|
static class |
UndertowJS.ResourceSet |
static class |
UndertowJS.UndertowSupport
Holder class for objects that undertow needs to access from the script environment
|
| Modifier and Type | Field and Description |
|---|---|
static int |
HOT_DEPLOYMENT_INTERVAL |
| Constructor and Description |
|---|
UndertowJS(List<UndertowJS.ResourceSet> resources,
boolean hotDeployment,
ClassLoader classLoader,
Map<String,InjectionProvider> injectionProviders,
List<io.undertow.server.HandlerWrapper> handlerWrappers,
io.undertow.server.handlers.resource.ResourceManager resourceManager) |
| Modifier and Type | Method and Description |
|---|---|
static UndertowJS.Builder |
builder() |
Object |
evaluate(String code) |
io.undertow.server.HttpHandler |
getHandler(io.undertow.server.HttpHandler next) |
io.undertow.server.HandlerWrapper |
getHandlerWrapper() |
UndertowJS |
start() |
UndertowJS |
stop() |
public static final int HOT_DEPLOYMENT_INTERVAL
public UndertowJS(List<UndertowJS.ResourceSet> resources, boolean hotDeployment, ClassLoader classLoader, Map<String,InjectionProvider> injectionProviders, List<io.undertow.server.HandlerWrapper> handlerWrappers, io.undertow.server.handlers.resource.ResourceManager resourceManager)
public UndertowJS start() throws ScriptException, IOException
ScriptExceptionIOExceptionpublic Object evaluate(String code) throws ScriptException
ScriptExceptionpublic UndertowJS stop()
public io.undertow.server.HttpHandler getHandler(io.undertow.server.HttpHandler next)
public io.undertow.server.HandlerWrapper getHandlerWrapper()
public static UndertowJS.Builder builder()
Copyright © 2016 JBoss by Red Hat. All rights reserved.