Search in sources :

Example 1 with DoNothingRenderer

use of org.b3log.latke.servlet.renderer.DoNothingRenderer in project solo by b3log.

the class StatProcessor method onlineVisitorCountRefresher.

/**
     * Online visitor count refresher.
     * 
     * @param context the specified context
     */
@RequestProcessing(value = "/console/stat/onlineVisitorRefresh", method = HTTPRequestMethod.GET)
public void onlineVisitorCountRefresher(final HTTPRequestContext context) {
    context.setRenderer(new DoNothingRenderer());
    statisticMgmtService.removeExpiredOnlineVisitor();
}
Also used : DoNothingRenderer(org.b3log.latke.servlet.renderer.DoNothingRenderer) RequestProcessing(org.b3log.latke.servlet.annotation.RequestProcessing)

Aggregations

RequestProcessing (org.b3log.latke.servlet.annotation.RequestProcessing)1 DoNothingRenderer (org.b3log.latke.servlet.renderer.DoNothingRenderer)1