public class MessageView extends Object implements XMessageView
XMessageView| Constructor and Description |
|---|
MessageView(MessageContext messageContext,
int maxPayloadSizeKbs) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Get the content type of the message if set.
|
List<StringPair> |
getContextProperties()
Return current context properties
|
String |
getDestinationURI()
Get the current destination URI for this message.
|
List<StringPair> |
getMessageProperties()
Return current message properties
|
String |
getPayload()
Get the current payload of the message
|
int |
getResponseCode()
Gets the response code of the message
|
List<StringTrio> |
getScopeVariables()
Returns the scope variables associated with each scope of the message context.
|
List<StringPair> |
getTransportHeaders()
Get the map of transport header values ignoring duplicates
|
void |
setContentType(String contentType) |
void |
setDestinationURI(String destinationURI) |
void |
setResponseCode(int responseCode) |
public MessageView(MessageContext messageContext, int maxPayloadSizeKbs)
public String getPayload()
XMessageViewgetPayload in interface XMessageViewStringpublic List<StringPair> getTransportHeaders()
XMessageViewgetTransportHeaders in interface XMessageViewStringPair with Tuple.leftValue
as transport key and Tuple.rightValue as transport valuepublic List<StringPair> getMessageProperties()
XMessageViewgetMessageProperties in interface XMessageViewStringPair with Tuple.leftValue as
property key and Tuple.rightValue as property valuepublic List<StringPair> getContextProperties()
XMessageViewgetContextProperties in interface XMessageViewStringPair with Tuple.leftValue as
property key and Tuple.rightValue as property valuepublic String getDestinationURI()
XMessageViewgetDestinationURI in interface XMessageViewpublic void setDestinationURI(String destinationURI)
public String getContentType()
XMessageViewgetContentType in interface XMessageViewpublic void setContentType(String contentType)
public int getResponseCode()
XMessageViewgetResponseCode in interface XMessageViewpublic void setResponseCode(int responseCode)
public List<StringTrio> getScopeVariables()
XMessageViewgetScopeVariables in interface XMessageViewStringTrios with
StringTrio.leftValue being the scope name,
StringTrio.middleValue being the variable name and
StringTrio.rightValue being the variable valueCopyright © 2016–2019 AdroitLogic. All rights reserved.