public class SubscriptionRequestContent extends Object implements Externalizable
| Constructor and Description |
|---|
SubscriptionRequestContent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Retrieves the content to be included in the subscription request.
|
ContentType |
getContentType()
Retrieves the content type.
|
void |
readExternal(ObjectInput in) |
SubscriptionRequestContent |
setContent(String content)
Sets the content to be included in the subscription request.
|
SubscriptionRequestContent |
setContentType(ContentType contentType)
Sets the content to be included in the subscription request.
|
void |
writeExternal(ObjectOutput out) |
public String getContent()
public SubscriptionRequestContent setContent(String content)
content - public ContentType getContentType()
public SubscriptionRequestContent setContentType(ContentType contentType)
contentType - public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2015. All Rights Reserved.