Package com.batch.android.post
Class MessagePackPostDataProvider<T>
- java.lang.Object
-
- com.batch.android.post.MessagePackPostDataProvider<T>
-
- All Implemented Interfaces:
PostDataProvider<T>
- Direct Known Subclasses:
DisplayReceiptPostDataProvider,LocalCampaignsJITPostDataProvider,MetricPostDataProvider
public abstract class MessagePackPostDataProvider<T> extends java.lang.Object implements PostDataProvider<T>
-
-
Constructor Summary
Constructors Constructor Description MessagePackPostDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()Get the content type of the databyte[]getData()Get the data-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.batch.android.post.PostDataProvider
getRawData, isEmpty
-
-
-
-
Method Detail
-
getData
public byte[] getData()
Description copied from interface:PostDataProviderGet the data- Specified by:
getDatain interfacePostDataProvider<T>- Returns:
-
getContentType
public java.lang.String getContentType()
Description copied from interface:PostDataProviderGet the content type of the data- Specified by:
getContentTypein interfacePostDataProvider<T>- Returns:
-
-