public static interface CommonsBindingContext.Builder
| Modifier and Type | Method and Description |
|---|---|
CommonsBindingContext.Builder |
addContent(String identifier,
InputStream value,
org.mule.runtime.api.metadata.MediaType mediaType)
Will create a binding for the specified identifier and value with the specified media type.
|
CommonsBindingContext.Builder |
addJava(String identifier,
Object value)
Will create a binding for the specified identifier and value of Java Object type.
|
CommonsBindingContext.Builder |
addJson(String identifier,
CommonsExpressionLanguageValue value)
Will create a binding for the specified identifier and value of a JSON type.
|
CommonsBindingContext.Builder |
addJson(String identifier,
InputStream value,
Charset charset)
Will create a binding for the specified identifier and value of a JSON type with the specified encoding.
|
CommonsBindingContext.Builder |
addXml(String identifier,
CommonsExpressionLanguageValue value)
Will create a binding for the specified identifier and value of an XML type.
|
CommonsBindingContext.Builder |
addXml(String identifier,
InputStream value,
Charset charset)
Will create a binding for the specified identifier and value of an XML type with the specified encoding.
|
CommonsBindingContext |
build() |
CommonsBindingContext.Builder addContent(String identifier, InputStream value, org.mule.runtime.api.metadata.MediaType mediaType)
MediaType and it is not known at the moment a transformation needs to be done.value - the content value to bindidentifier - the keyword to use in the EL to access the valuemediaType - the media type of the InputStreamCommonsBindingContext.Builder addJson(String identifier, InputStream value, Charset charset)
value - the JSON value to bindidentifier - the keyword to use in the EL to access the valuecharset - the encoding of the InputStreamCommonsBindingContext.Builder addJson(String identifier, CommonsExpressionLanguageValue value)
value - the JSON value to bindidentifier - the keyword to use in the EL to access the valueCommonsBindingContext.Builder addXml(String identifier, InputStream value, Charset charset)
value - the XML value to bindidentifier - the keyword to use in the EL to access the valuecharset - the encoding of the InputStreamCommonsBindingContext.Builder addXml(String identifier, CommonsExpressionLanguageValue value)
value - the XML value to bindidentifier - the keyword to use in the EL to access the valueCommonsBindingContext.Builder addJava(String identifier, Object value)
value - the Object value to bindidentifier - the keyword to use in the EL to access the valueCommonsBindingContext build()
CommonsBindingContextCopyright © 2023. All rights reserved.