public class ResponseReportRequest extends java.lang.Object implements Request<ResponseReport>
UrbanAirshipClient
Request.HttpMethod
CONTENT_ENCODING_GZIP, CONTENT_TYPE_JSON, CONTENT_TYPE_TEXT_CSV, UA_VERSION_CSV, UA_VERSION_JSON
Modifier and Type | Method and Description |
---|---|
boolean |
bearerTokenAuthRequired() |
boolean |
canUseBearerTokenAuth() |
ContentType |
getContentType() |
Request.HttpMethod |
getHttpMethod() |
java.lang.String |
getRequestBody() |
java.util.Map<java.lang.String,java.lang.String> |
getRequestHeaders() |
ResponseParser<ResponseReport> |
getResponseParser() |
java.net.URI |
getUri(java.net.URI baseUri) |
static ResponseReportRequest |
newRequest(DateTime start,
DateTime end,
Precision precision)
Create a Response Report request.
|
static ResponseReportRequest |
newRequest(DateTime start,
DateTime end,
Precision precision,
java.net.URI nextPage)
Create a new Response Report request using a next page URI.
|
public static ResponseReportRequest newRequest(DateTime start, DateTime end, Precision precision)
start
- DateTimeend
- DateTimeprecision
- Precisionpublic static ResponseReportRequest newRequest(DateTime start, DateTime end, Precision precision, java.net.URI nextPage)
start
- DateTimeend
- DateTimeprecision
- PrecisionnextPage
- URIpublic ContentType getContentType()
getContentType
in interface Request<ResponseReport>
public Request.HttpMethod getHttpMethod()
getHttpMethod
in interface Request<ResponseReport>
public java.lang.String getRequestBody()
getRequestBody
in interface Request<ResponseReport>
public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
getRequestHeaders
in interface Request<ResponseReport>
public java.net.URI getUri(java.net.URI baseUri)
getUri
in interface Request<ResponseReport>
public ResponseParser<ResponseReport> getResponseParser()
getResponseParser
in interface Request<ResponseReport>
public boolean bearerTokenAuthRequired()
bearerTokenAuthRequired
in interface Request<ResponseReport>
public boolean canUseBearerTokenAuth()
canUseBearerTokenAuth
in interface Request<ResponseReport>