-
- All Implemented Interfaces:
-
com.batch.android.post.PostDataProvider
public class ParametersPostDataProvider implements PostDataProvider<Map<String, String>>
A parameters post data provider
-
-
Constructor Summary
Constructors Constructor Description ParametersPostDataProvider()Create a provider with empty parameters ParametersPostDataProvider(Map<String, String> params)Create a provider with given parameters
-
Method Summary
Modifier and Type Method Description Map<String, String>getRawData()Get modifiable raw data. Array<byte>getData()Get the data StringgetContentType()Get the content type of the data booleanisEmpty()Checks whether this provider is empty or not. -
-
Method Detail
-
getRawData
Map<String, String> getRawData()
Get modifiable raw data.The given data should be modifiable.
-
getContentType
String getContentType()
Get the content type of the data
-
isEmpty
boolean isEmpty()
Checks whether this provider is empty or not.
-
-
-
-