final SlingHttpServletResponse response) {
if (ctx == null ) {
throw new IllegalArgumentException("Bundle context must not be null.");
}
this.script = script;
this.request = new OnDemandReaderRequest(request);
this.response = new OnDemandWriterResponse(response);
this.bundleContext = ctx;
}