- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Charset c =
String charsetName;Charset.forName(charsetName)
Charset.defaultCharset()
ContentType contentType;contentType.getCharset()
- Smart code suggestions by Codota
}
private static void resetAppStateBeforeRestart() { App.boot.reset(); App.status = AppStatus.NOT_STARTED; App.dirty = false; App.packages = null; Groups.reset(); Conf.reset(); Env.reset(); Res.reset(); JSON.reset(); Beany.reset(); for (RapidoidModule mod : RapidoidModules.getAllAvailable()) { mod.restartApp(); } AppStarter.reset(); ClasspathScanner.reset(); invoked.clear(); Setups.reloadAll(); Setups.initDefaults(); Conf.reset(); // reset the config again }
private static void resetAppStateBeforeRestart() { App.path = null; App.boot = null; App.status = AppStatus.NOT_STARTED; App.dirty = false; Groups.reset(); Conf.reset(); Env.reset(); Res.reset(); Templates.reset(); JSON.reset(); Beany.reset(); AppStarter.reset(); AppBootstrap.reset(); ClasspathScanner.reset(); invoked.clear(); SetupUtil.reloadAll(); Conf.reset(); // reset the config again Setup.initDefaults(); // this changes the config Conf.reset(); // reset the config again }