Search in sources :

Example 1 with GroovyLanguageSupport

use of com.predic8.membrane.core.lang.groovy.GroovyLanguageSupport in project service-proxy by membrane.

the class ConditionalInterceptor method init.

@Override
public void init(Router router) throws Exception {
    super.init(router);
    LanguageSupport ls = new GroovyLanguageSupport();
    condition = ls.compileExpression(router, test);
}
Also used : LanguageSupport(com.predic8.membrane.core.lang.LanguageSupport) GroovyLanguageSupport(com.predic8.membrane.core.lang.groovy.GroovyLanguageSupport) GroovyLanguageSupport(com.predic8.membrane.core.lang.groovy.GroovyLanguageSupport)

Aggregations

LanguageSupport (com.predic8.membrane.core.lang.LanguageSupport)1 GroovyLanguageSupport (com.predic8.membrane.core.lang.groovy.GroovyLanguageSupport)1