@Deprecated public class TestLegacyMessageBuilder extends Object implements org.mule.runtime.api.message.Message.CollectionBuilder
| Constructor and Description |
|---|
TestLegacyMessageBuilder()
Deprecated.
|
TestLegacyMessageBuilder(org.mule.runtime.api.message.Message message)
Deprecated.
Create a new builder initialized from an existent message
|
| Modifier and Type | Method and Description |
|---|---|
TestLegacyMessageBuilder |
addOutboundProperty(String key,
Serializable value)
Deprecated.
|
TestLegacyMessageBuilder |
attributes(org.mule.runtime.api.metadata.TypedValue<?> typedValue)
Deprecated.
|
TestLegacyMessageBuilder |
attributesMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
Deprecated.
|
TestLegacyMessageBuilder |
attributesValue(Object value)
Deprecated.
|
org.mule.runtime.api.message.Message |
build()
Deprecated.
|
TestLegacyMessageBuilder |
collectionValue(Collection value,
Class<?> itemType)
Deprecated.
|
TestLegacyMessageBuilder |
collectionValue(Object[] value)
Deprecated.
|
TestLegacyMessageBuilder |
exceptionPayload(org.mule.runtime.core.api.message.ExceptionPayload exceptionPayload)
Deprecated.
|
TestLegacyMessageBuilder |
inboundProperties(Map<String,Serializable> inboundProperties)
Deprecated.
|
TestLegacyMessageBuilder |
itemMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
Deprecated.
|
TestLegacyMessageBuilder |
mediaType(org.mule.runtime.api.metadata.MediaType mediaType)
Deprecated.
|
TestLegacyMessageBuilder |
nullAttributesValue()
Deprecated.
|
TestLegacyMessageBuilder |
nullValue()
Deprecated.
|
TestLegacyMessageBuilder |
outboundProperties(Map<String,Serializable> outboundProperties)
Deprecated.
|
TestLegacyMessageBuilder |
payload(org.mule.runtime.api.metadata.TypedValue<?> typedValue)
Deprecated.
|
TestLegacyMessageBuilder |
streamValue(Iterator value,
Class<?> itemType)
Deprecated.
|
TestLegacyMessageBuilder |
value(Object value)
Deprecated.
|
public TestLegacyMessageBuilder()
public TestLegacyMessageBuilder(org.mule.runtime.api.message.Message message)
message - message to initialize the builder state. Non null.public TestLegacyMessageBuilder payload(org.mule.runtime.api.metadata.TypedValue<?> typedValue)
payload in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder nullValue()
nullValue in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder value(Object value)
value in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder streamValue(Iterator value, Class<?> itemType)
streamValue in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder collectionValue(Collection value, Class<?> itemType)
collectionValue in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder collectionValue(Object[] value)
collectionValue in interface org.mule.runtime.api.message.Message.PayloadBuilderpublic TestLegacyMessageBuilder itemMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
itemMediaType in interface org.mule.runtime.api.message.Message.CollectionBuilderpublic TestLegacyMessageBuilder mediaType(org.mule.runtime.api.metadata.MediaType mediaType)
mediaType in interface org.mule.runtime.api.message.Message.BuildermediaType in interface org.mule.runtime.api.message.Message.CollectionBuilderpublic TestLegacyMessageBuilder attributes(org.mule.runtime.api.metadata.TypedValue<?> typedValue)
attributes in interface org.mule.runtime.api.message.Message.Builderattributes in interface org.mule.runtime.api.message.Message.CollectionBuilderpublic TestLegacyMessageBuilder nullAttributesValue()
nullAttributesValue in interface org.mule.runtime.api.message.Message.BuildernullAttributesValue in interface org.mule.runtime.api.message.Message.CollectionBuilderpublic TestLegacyMessageBuilder attributesValue(Object value)
attributesValue in interface org.mule.runtime.api.message.Message.BuilderattributesValue in interface org.mule.runtime.api.message.Message.CollectionBuilderpublic TestLegacyMessageBuilder attributesMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
attributesMediaType in interface org.mule.runtime.api.message.Message.BuilderattributesMediaType in interface org.mule.runtime.api.message.Message.CollectionBuilder@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(org.mule.runtime.core.api.message.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.