public final class StreamBridge extends Object implements org.springframework.beans.factory.SmartInitializingSingleton
Modifier and Type | Method and Description |
---|---|
void |
afterSingletonsInstantiated() |
boolean |
send(String bindingName,
Object data)
Sends 'data' to an output binding specified by 'bindingName' argument while
using default content type to deal with output type conversion (if necessary).
|
boolean |
send(String bindingName,
Object data,
org.springframework.util.MimeType outputContentType)
Sends 'data' to an output binding specified by 'bindingName' argument while
using the content type specified by the 'outputContentType' argument to deal
with output type conversion (if necessary).
|
public boolean send(String bindingName, Object data)
bindingName
- the name of the output bindingdata
- the data to sendpublic boolean send(String bindingName, Object data, org.springframework.util.MimeType outputContentType)
bindingName
- the name of the output bindingdata
- the data to sendoutputContentType
- content type to be used to deal with output type conversionpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated
in interface org.springframework.beans.factory.SmartInitializingSingleton
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.