public void handle(Context context) throws Exception {
Handler handler = reloadHandler.create();
if (handler == null) {
context.getResponse().send("script file does not exist:" + script.toAbsolutePath());
} else {
handler.handle(context);
}
}
private static class ClosureCaptureAction implements Action<Closure<?>> {
private Closure<?> closure;