com.google.api.ads.adwords.lib.utils
Class ReportDownloadResponse

java.lang.Object
  extended by com.google.api.ads.adwords.lib.utils.ReportDownloadResponse

public class ReportDownloadResponse
extends Object

Holder class for http status and response body. If the request was successful, the inputstream contains the response, otherwise the httpResponseMessage will have the error.

Author:
Kevin Winter

Constructor Summary
ReportDownloadResponse(int httpStatus, String httpResponseMessage, InputStream inputStream)
           
 
Method Summary
 String getHttpResponseMessage()
           
 int getHttpStatus()
           
 InputStream getInputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportDownloadResponse

public ReportDownloadResponse(int httpStatus,
                              String httpResponseMessage,
                              InputStream inputStream)
Method Detail

getHttpStatus

public int getHttpStatus()

getHttpResponseMessage

@Nullable
public String getHttpResponseMessage()

getInputStream

@Nullable
public InputStream getInputStream()


Copyright © 2012. All Rights Reserved.