@Deprecated public class TestLegacyMessageBuilder extends Object implements org.mule.runtime.api.message.Message.Builder
| Constructor and Description |
|---|
TestLegacyMessageBuilder()
Deprecated.
|
TestLegacyMessageBuilder(org.mule.runtime.api.message.Message message)
Deprecated.
Create a new builder initialized from an existent message
|
public TestLegacyMessageBuilder()
public TestLegacyMessageBuilder(org.mule.runtime.api.message.Message message)
message - message to initialize the builder state. Non null.public TestLegacyMessageBuilder nullPayload()
nullPayload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder payload(Object value)
payload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder streamPayload(Iterator value, Class<?> itemType)
streamPayload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder collectionPayload(Collection value, Class<?> itemType)
collectionPayload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder collectionPayload(Object[] value)
collectionPayload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder mediaType(org.mule.runtime.api.metadata.MediaType mediaType)
mediaType in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder nullAttributes()
nullAttributes in interface org.mule.runtime.api.message.Message.AttributesBuilderpublic TestLegacyMessageBuilder attributes(Object value)
attributes in interface org.mule.runtime.api.message.Message.AttributesBuilderpublic TestLegacyMessageBuilder attributesMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
attributesMediaType in interface org.mule.runtime.api.message.Message.AttributesBuilder@Deprecated public TestLegacyMessageBuilder addOutboundProperty(String key, Serializable value)
key - value - {@link - IllegalStateException} if there is any problem accessing the legacy message API using reflection@Deprecated public TestLegacyMessageBuilder inboundProperties(Map<String,Serializable> inboundProperties)
inboundProperties - {@link - IllegalStateException} if there is any problem accessing the legacy message API using reflection@Deprecated public TestLegacyMessageBuilder outboundProperties(Map<String,Serializable> outboundProperties)
outboundProperties - {@link - IllegalStateException} if there is any problem accessing the legacy message API using reflectionpublic TestLegacyMessageBuilder exceptionPayload(ExceptionPayload exceptionPayload)
exceptionPayload - {@link - IllegalStateException} if there is any problem accessing the legacy message API using reflectionpublic org.mule.runtime.api.message.Message build()
build in interface org.mule.runtime.api.message.Message.BuilderCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.