public class StaticListListingRequest extends java.lang.Object implements Request<StaticListListingResponse>
UrbanAirshipClient.| Modifier and Type | Class and Description |
|---|---|
static class |
StaticListListingRequest.ListType |
Request.HttpMethodCONTENT_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<StaticListListingResponse> |
getResponseParser() |
java.net.URI |
getUri(java.net.URI baseUri) |
static StaticListListingRequest |
newRequest()
Create a request to list all static lists.
|
StaticListListingRequest |
type(StaticListListingRequest.ListType type)
Set the type of lists to be returned.
|
public static StaticListListingRequest newRequest()
public StaticListListingRequest type(StaticListListingRequest.ListType type)
type - StaticListType representing the list typepublic ContentType getContentType()
getContentType in interface Request<StaticListListingResponse>public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
getRequestHeaders in interface Request<StaticListListingResponse>public Request.HttpMethod getHttpMethod()
getHttpMethod in interface Request<StaticListListingResponse>public java.lang.String getRequestBody()
getRequestBody in interface Request<StaticListListingResponse>public java.net.URI getUri(java.net.URI baseUri)
throws java.net.URISyntaxException
getUri in interface Request<StaticListListingResponse>java.net.URISyntaxExceptionpublic ResponseParser<StaticListListingResponse> getResponseParser()
getResponseParser in interface Request<StaticListListingResponse>public boolean bearerTokenAuthRequired()
bearerTokenAuthRequired in interface Request<StaticListListingResponse>public boolean canUseBearerTokenAuth()
canUseBearerTokenAuth in interface Request<StaticListListingResponse>