本文整理汇总了Java中com.vangav.backend.content.formatting.SerializationInl.serializeObject方法的典型用法代码示例。如果您正苦于以下问题:Java SerializationInl.serializeObject方法的具体用法?Java SerializationInl.serializeObject怎么用?Java SerializationInl.serializeObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.vangav.backend.content.formatting.SerializationInl
的用法示例。
在下文中一共展示了SerializationInl.serializeObject方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: JavaEmailDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor JavaEmailDispatchable
* initializes through serializing a JavaEmail Object
* @param javaEmail
* @return new JavaEmailDispatchable Object
* @throws Exception
*/
@JsonIgnore
public JavaEmailDispatchable (
JavaEmail javaEmail) throws Exception {
this.type = "java_email";
this.serialized_message =
SerializationInl.serializeObject(javaEmail);
}
示例2: MailGunEmailDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor MailGunEmailDispatchable
* initializes through serializing a MailGunEmail Object
* @param mailGunEmail
* @return new MailGunEmailDispatchable Object
* @throws Exception
*/
@JsonIgnore
public MailGunEmailDispatchable (
MailGunEmail mailGunEmail) throws Exception {
this.type = "mail_gun_email";
this.serialized_message =
SerializationInl.serializeObject(mailGunEmail);
}
示例3: TwilioMmsDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor TwilioMmsDispatchable
* initializes through serializing a TwilioMms Object
* @param twilioMms
* @return new TwilioMmsDispatchable Object
* @throws Exception
*/
@JsonIgnore
public TwilioMmsDispatchable (TwilioMms twilioMms) throws Exception {
this.type = "twilio_mms";
this.serialized_message =
SerializationInl.serializeObject(twilioMms);
}
示例4: TwilioSmsDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor TwilioSmsDispatchable
* initializes through serializing a TwilioSms Object
* @param twilioSms
* @return new TwilioSmsDispatchable Object
* @throws Exception
*/
@JsonIgnore
public TwilioSmsDispatchable (TwilioSms twilioSms) throws Exception {
this.type = "twilio_sms";
this.serialized_message =
SerializationInl.serializeObject(twilioSms);
}
示例5: QueryDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor QueryDispatchable
* initializes through serializing a Query
* @param query
* @return new QueryDispatchable Object
* @throws Exception
*/
@JsonIgnore
public QueryDispatchable (Query query) throws Exception {
this.type = "cassandra_query";
this.serialized_message =
SerializationInl.serializeObject(new WorkerQuery(query) );
}
示例6: AppleNotificationDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor AppleNotificationDispatchable
* initializes through serializing an AppleNotification
* @param appleNotification
* @return new AppleNotificationDispatchable Object
* @throws Exception
*/
@JsonIgnore
public AppleNotificationDispatchable (
AppleNotification appleNotification) throws Exception {
this.type = "apple_notification";
this.serialized_message =
SerializationInl.serializeObject(appleNotification);
}
示例7: AndroidNotificationDispatchable
import com.vangav.backend.content.formatting.SerializationInl; //导入方法依赖的package包/类
/**
* Constructor AndroidNotificationDispatchable
* initialized through serializing an AndroidNotification
* @param androidNotification
* @return new AndroidNotificationDispatchable Object
* @throws Exception
*/
@JsonIgnore
public AndroidNotificationDispatchable (
AndroidNotification androidNotification) throws Exception {
this.type = "android_notification";
this.serialized_message =
SerializationInl.serializeObject(androidNotification);
}