Package com.eclipsesource.tabris.tracking.internal.piwik.request

Examples of com.eclipsesource.tabris.tracking.internal.piwik.request.PiwikRequest.assemble()


  public void track( Action action,
                     VisitorInformation visitorInformation,
                     AdvancedConfiguration advancedConfiguration )
  {
    PiwikRequest request = new PiwikRequest( configuration, action, visitorInformation, advancedConfiguration );
    Map<String, Object> parameter = request.assemble();
    verifyResponse( HttpRequest.get( piwikUrl, parameter, true ) );
  }

  private void verifyResponse( HttpRequest httpRequest ) {
    if( httpRequest.code() != 200 ) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.