Package com.esri.gpt.server.usage.api

Examples of com.esri.gpt.server.usage.api.StatisticsRequestContext


protected void execute(HttpServletRequest request,
                     HttpServletResponse response,
                     RequestContext context)
  throws Exception {
    msgBroker = new FacesContextBroker(request,response).extractMessageBroker();   
    StatisticsRequestContext statRequestCtx = null;
    String homePage = "/catalog/main/home.page";
  String contextPath = request.getContextPath();  
  checkRole(context);
  statRequestCtx = new StatisticsRequestContext();
  initStatisticsRequestContext(request,response,context, statRequestCtx);   
  GeoportalStatisticsProviderFactory geoportalStatProviderFactory = new GeoportalStatisticsProviderFactory();
  StatisticsWriterFactory statisticsWriterFactory = new StatisticsWriterFactory();   
  statisticsWriterFactory.makeStatisticsWriter(statRequestCtx);
  GeoportalUsageInformation usageInfo = geoportalStatProviderFactory.buildUsageReport(statRequestCtx);   
View Full Code Here

TOP

Related Classes of com.esri.gpt.server.usage.api.StatisticsRequestContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.