public class SerializeInformationTransformer extends InformationTransformer
| Constructor and Description |
|---|
SerializeInformationTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHeaderFormatPropertyName(String headerName)
This method determines the property name to use to store the
header value's original format.
|
boolean |
getIncludeHeaders()
This method indicates whether headers will be included
with the serialized representation.
|
void |
setIncludeHeaders(boolean b)
This method sets whether headers should be included with the
serialized representation.
|
String |
transform(Object information,
Map<String,Object> headers,
ActivityType activityType)
This method transforms the supplied information and
returns the textual representation of the result.
|
protected String |
transformToString(Object information,
boolean header)
This method converts the supplied information to a string representation.
|
close, init, transformpublic void setIncludeHeaders(boolean b)
b - Whether headers should be includedpublic boolean getIncludeHeaders()
public String transform(Object information, Map<String,Object> headers, ActivityType activityType)
transform in class InformationTransformerinformation - The informationheaders - The optional header informationactivityType - The optional activity typeprotected String getHeaderFormatPropertyName(String headerName)
headerName - The header nameCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.