- All Implemented Interfaces:
- OutputProcessor
public class PrependAppendOutputProcessor
extends java.lang.Object
implements OutputProcessor
Created with IntelliJ IDEA.
User: mszczap
Date: 16.10.13
Time: 18:11
An implementation of an output processor that will prependText and appendText something
once a compilation of JavaScript completed.
A good example for the reason this class may be needed is requirejs, one may prependText
a requirejs module definition and appendText closing, such that a JavaScript response can be wrapped.
It is up to a frontend developer to work with a backend developer to define what exactly could be in "prependText"
and "appendText" configuration.