public class CommonsBindingContextBuilder extends Object implements CommonsBindingContext.Builder
| Constructor and Description |
|---|
CommonsBindingContextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
CommonsBindingContextBuilder |
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.
|
CommonsBindingContextBuilder |
addJava(String identifier,
Object value)
Will create a binding for the specified identifier and value of Java Object type.
|
CommonsBindingContextBuilder |
addJson(String identifier,
CommonsExpressionLanguageValue value)
Will create a binding for the specified identifier and value of a JSON type.
|
CommonsBindingContextBuilder |
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.
|
CommonsBindingContextBuilder |
addXml(String identifier,
CommonsExpressionLanguageValue value)
Will create a binding for the specified identifier and value of an XML type.
|
CommonsBindingContextBuilder |
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() |
public CommonsBindingContextBuilder addContent(String identifier, InputStream value, org.mule.runtime.api.metadata.MediaType mediaType)
CommonsBindingContext.BuilderMediaType and it is not known at the moment a transformation needs to be done.addContent in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the content value to bindmediaType - the media type of the InputStreampublic CommonsBindingContextBuilder addJson(String identifier, InputStream value, Charset charset)
CommonsBindingContext.BuilderaddJson in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the JSON value to bindcharset - the encoding of the InputStreampublic CommonsBindingContextBuilder addJson(String identifier, CommonsExpressionLanguageValue value)
CommonsBindingContext.BuilderaddJson in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the JSON value to bindpublic CommonsBindingContextBuilder addXml(String identifier, InputStream value, Charset charset)
CommonsBindingContext.BuilderaddXml in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the XML value to bindcharset - the encoding of the InputStreampublic CommonsBindingContextBuilder addXml(String identifier, CommonsExpressionLanguageValue value)
CommonsBindingContext.BuilderaddXml in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the XML value to bindpublic CommonsBindingContextBuilder addJava(String identifier, Object value)
CommonsBindingContext.BuilderaddJava in interface CommonsBindingContext.Builderidentifier - the keyword to use in the EL to access the valuevalue - the Object value to bindpublic CommonsBindingContext build()
build in interface CommonsBindingContext.BuilderCommonsBindingContextCopyright © 2023. All rights reserved.