class ModuleRegistryGetHandler implements LightHttpHandler {

    private static final ObjectMapper mapper = Config.getInstance().getMapper();
    private static final String STATUS_CONFIG_RELOAD_DISABLED = "ERR12217";

    public ModuleRegistryGetHandler() {

    }

    @Override
    public void handleRequest(final HttpServerExchange exchange) throws Exception {<FILL_FUNCTION_BODY>}
}

        ConfigReloadConfig config = (ConfigReloadConfig) Config.getInstance().getJsonObjectConfig(ConfigReloadConfig.CONFIG_NAME, ConfigReloadConfig.class);

        if (config.isEnabled()) {
            List<String> modulePlugins = new ArrayList<>();
            modulePlugins.addAll(ModuleRegistry.getModuleClasses());
            modulePlugins.addAll(ModuleRegistry.getPluginClasses());

            exchange.getResponseHeaders().add(new HttpString("Content-Type"), "application/json");
            exchange.setStatusCode(HttpStatus.OK.value());
            exchange.getResponseSender().send(mapper.writeValueAsString(modulePlugins));
        } else {
            logger.error("Config reload is disabled in configReload.yml");
            setExchangeStatus(exchange, STATUS_CONFIG_RELOAD_DISABLED);
        }
    
<no_super_class>