Class GroovyTemplateInterceptor

java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.groovy.GroovyTemplateInterceptor
All Implemented Interfaces:
Interceptor

public class GroovyTemplateInterceptor extends AbstractInterceptor
Description
Uses the groovy template markup engine to produce HTML-based responses. <groovyTemplate><![CDATA[ html { head { title('Resource') } body { p('Hello from Membrane!') } } ]]></groovyTemplate>

The word "spring" refers to the Spring ApplicationContext. The word "exc" refers to the Membrane Exchange being handled. The word "flow" refers to the current Membrane Flow (=REQUEST).

Topic
4. Interceptors/Features