context.doNotChunk = true;
context.setRootPagePath();
VelocityFactory.makeVelocityFactory(context);
Response response = responder.makeResponse(context, request);
final StringBuffer sb = new StringBuffer();
ResponseSender sender = new ResponseSender() {
@Override
public void send(byte[] bytes) {
sb.append(new String(bytes));
}