163164165166167168169170171172173
String enable = request.param("enable"); if (enable != null) { if( Boolean.parseBoolean(enable) ) { streamManager.enable(); } else { streamManager.disable(); } } return Reply.saying().ok(); }
254255256257258259260261262263264