public GetDomainStatisticsResponse getDomainStatistics ( GetDomainStatisticsRequest request ) { checkNotNull ( request , "The parameter request should NOT be null." ) ; checkStringNotEmpty ( request . getDomain ( ) , "Domain should NOT be empty." ) ; InternalRequest internalRequest = createRequest ( HttpMethodName . GET , request , STATISTICS , LIVE_DOMAIN , request . getDomain ( ) ) ; if ( request . getStartDate ( ) != null ) { internalRequest . addParameter ( "startDate" , request . getStartDate ( ) ) ; } if ( request . getEndDate ( ) != null ) { internalRequest . addParameter ( "endDate" , request . getEndDate ( ) ) ; } if ( request . getAggregate ( ) != null ) { internalRequest . addParameter ( "aggregate" , request . getAggregate ( ) . toString ( ) ) ; } return invokeHttpClient ( internalRequest , GetDomainStatisticsResponse . class ) ; }
get domain s statistics in the live stream service .