public class SymphonyResponseHandler extends Object implements ResponseHandler, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
ctx |
protected DataHandler |
dataHandler |
protected org.springframework.util.ErrorHandler |
eh |
protected com.symphony.bdk.core.service.message.MessageService |
messagesApi |
protected MarkupTemplateProvider<Markup> |
messageTemplater |
protected StreamResolver |
sr |
protected SymphonyTemplateProvider |
workTemplater |
LOW_PRIORITY, MEDIUM_PRIORITY| Constructor and Description |
|---|
SymphonyResponseHandler(com.symphony.bdk.core.service.message.MessageService messagesApi,
DataHandler dataHandler,
MarkupTemplateProvider<Markup> messageTemplater,
SymphonyTemplateProvider workTemplater,
StreamResolver sr) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Response t) |
protected String |
buildTemplate(DataResponse t) |
int |
getOrder() |
protected void |
initErrorHandler() |
protected void |
sendResponse(String template,
byte[] attachment,
String data,
Addressable address,
String filename) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected com.symphony.bdk.core.service.message.MessageService messagesApi
protected DataHandler dataHandler
protected org.springframework.context.ApplicationContext ctx
protected org.springframework.util.ErrorHandler eh
protected MarkupTemplateProvider<Markup> messageTemplater
protected SymphonyTemplateProvider workTemplater
protected StreamResolver sr
public SymphonyResponseHandler(com.symphony.bdk.core.service.message.MessageService messagesApi,
DataHandler dataHandler,
MarkupTemplateProvider<Markup> messageTemplater,
SymphonyTemplateProvider workTemplater,
StreamResolver sr)
protected void initErrorHandler()
protected String buildTemplate(DataResponse t)
protected void sendResponse(String template, byte[] attachment, String data, Addressable address, String filename)
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2022 Finos. All rights reserved.