| Package | Description |
|---|---|
| com.datasift.client.push | |
| com.datasift.client.push.connectors |
| Modifier and Type | Field and Description |
|---|---|
static OutputType<Http> |
OutputType.HTTP_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static Http |
PushConnectors.http() |
| Modifier and Type | Method and Description |
|---|---|
Http |
Http.auth(String username,
String password)
Sets the authentication information that should be used for the connector
|
Http |
Http.authType(Http.AuthType auth)
The authentication that you want DataSift to use when connecting to output_params.url:
basic
none
If you choose basic authentication, you must supply output_params.auth.username and output_params.auth.password.
|
Http |
Http.compression(String format) |
Http |
Http.deliveryFrequency(int freq)
The minimum number of seconds you want DataSift to wait before sending data again:
10 (10 seconds)
30 (30 seconds)
60 (1 minute)
120 (2 minutes)
300 (5 minutes)
In reality, a stream might not have data available after the wait.
|
Http |
Http.format(Http.HttpFormat format)
The output format for your data:
json_meta - The current default format, where each payload contains a full JSON document.
|
Http |
Http.gzip() |
Http |
Http.maxSize(int max)
The maximum amount of data that DataSift will send in a single batch:
102400 (100KB)
256000 (250KB)
512000 (500KB)
1048576 (1MB)
2097152 (2MB)
5242880 (5MB)
10485760 (10MB)
20971520 (20MB)
52428800 (50MB)
104857600 (100MB)
209715200 (200MB)
|
Http |
Http.method(io.netty.handler.codec.http.HttpMethod method)
The verb that you want DataSift to use with the HTTP request:
POST
PUT
|
Http |
Http.password(String password) |
Http |
Http.url(String url)
Any valid URL that you want DataSift to deliver to; for example:
http://www.fromdatasift.com/destination/
For POST requests:
DataSift uses the URL that you specify.
|
Http |
Http.useGzip(boolean trueOrFalse)
|
Http |
Http.username(String username) |
Http |
Http.verifySSL(boolean trueOrFalse)
If you are using SSL to connect, this specifies whether the certificate should be verified.
|
Http |
Http.zlib() |
Copyright © 2015. All Rights Reserved.