class ContentHandler implements MiddlewareHandler {
    public static ContentConfig config;
    private volatile HttpHandler next;

    public ContentHandler() {
        config = ContentConfig.load();
    }

    @Override
    public HttpHandler getNext() {
        return next;
    }

    @Override
    public MiddlewareHandler setNext(final HttpHandler next) {
        Handlers.handlerNotNull(next);

        this.next = next;

        return this;
    }

    @Override
    public boolean isEnabled() {
        return config.isEnabled();
    }

    @Override
    public void register() {
        ModuleRegistry.registerModule(ContentConfig.CONFIG_NAME, ContentConfig.class.getName(), Config.getNoneDecryptedInstance().getJsonMapConfigNoCache(ContentConfig.CONFIG_NAME), null);
    }

    @Override
    public void handleRequest(final HttpServerExchange exchange) throws Exception {
        if (exchange.getRequestHeaders().contains(Headers.CONTENT_TYPE)) {
            exchange
                    .getResponseHeaders()
                    .put(Headers.CONTENT_TYPE, exchange.getRequestHeaders().get(Headers.CONTENT_TYPE).element());
        } else {
            exchange
                    .getResponseHeaders()
                    .put(Headers.CONTENT_TYPE, config.getContentType());
        }
        Handler.next(exchange, next);
    }

    @Override
    public void reload() {<FILL_FUNCTION_BODY>}
}

        config.reload();
        ModuleRegistry.registerModule(ContentConfig.CONFIG_NAME, ContentConfig.class.getName(), Config.getNoneDecryptedInstance().getJsonMapConfigNoCache(ContentConfig.CONFIG_NAME), null);
        if(logger.isInfoEnabled()) {
            logger.info("ContentHandler is enabled.");
        }
    
<no_super_class>