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<java.lang.String> |
getResponseParser() |
java.net.URI |
getUri(java.net.URI baseUri) |
static StaticListDownloadRequest |
newRequest(LifecycleListType type)
Build a static list download request.
|
static StaticListDownloadRequest |
newRequest(java.lang.String name)
Build a static list download request.
|
StaticListDownloadRequest |
setOutputStream(java.io.FileOutputStream fileOutputStream)
Specify a file output stream to route the response data to.
|
public static StaticListDownloadRequest newRequest(java.lang.String name)
name - The name of the list as a string.public static StaticListDownloadRequest newRequest(LifecycleListType type)
type - A lifecycle list type.public StaticListDownloadRequest setOutputStream(java.io.FileOutputStream fileOutputStream)
fileOutputStream - The output stream to write to.public ContentType getContentType()
getContentType in interface Request<java.lang.String>public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
getRequestHeaders in interface Request<java.lang.String>public Request.HttpMethod getHttpMethod()
getHttpMethod in interface Request<java.lang.String>public java.lang.String getRequestBody()
getRequestBody in interface Request<java.lang.String>public java.net.URI getUri(java.net.URI baseUri)
public ResponseParser<java.lang.String> getResponseParser()
getResponseParser in interface Request<java.lang.String>public boolean bearerTokenAuthRequired()
bearerTokenAuthRequired in interface Request<java.lang.String>public boolean canUseBearerTokenAuth()
canUseBearerTokenAuth in interface Request<java.lang.String>