class AfterRequestHandler implements Handler {

    /**
     * Logger.
     */
    private static final Logger LOGGER = LogManager.getLogger(AfterRequestHandler.class);

    @Override
    public void handle(final RequestContext context) {<FILL_FUNCTION_BODY>}


}

        Locales.setLocale(null);
        Sessions.clearThreadLocalData();
        JdbcRepository.dispose();

        Stopwatchs.end();
        final Request request = context.getRequest();
        final long elapsed = Stopwatchs.getElapsed("Request initialized [" + request.getRequestURI() + "]");
        final Map<String, Object> dataModel = context.getDataModel();
        if (null != dataModel) {
            dataModel.put(Common.ELAPSED, elapsed);
        }
        final int threshold = Symphonys.PERFORMANCE_THRESHOLD;
        if (0 < threshold) {
            if (elapsed >= threshold) {
                LOGGER.log(Level.INFO, "Stopwatch: {}{}", Strings.LINE_SEPARATOR, Stopwatchs.getTimingStat());
            }
        }
        Stopwatchs.release();
    
<no_super_class>