Search in sources :

Example 1 with JavascriptLanguageSupport

use of com.predic8.membrane.core.lang.javascript.JavascriptLanguageSupport in project service-proxy by membrane.

the class JavascriptInterceptor method init.

@Override
public void init() throws IOException, ClassNotFoundException {
    if (router == null)
        return;
    if ("".equals(src))
        return;
    jls = new JavascriptLanguageSupport();
    implicitClasses = getJavascriptTypesForHttpClasses();
    script = jls.compileScript(router, src);
}
Also used : JavascriptLanguageSupport(com.predic8.membrane.core.lang.javascript.JavascriptLanguageSupport)

Aggregations

JavascriptLanguageSupport (com.predic8.membrane.core.lang.javascript.JavascriptLanguageSupport)1