public class ByteArrayToObject extends ByteArrayToSerializable
ByteArrayToObject works in the same way as ByteArrayToSerializable but checks if the byte array is a
serialised object and if not will return a String created from the bytes as the returnType on the transformer.ReactiveProcessor.ProcessingTypelogger, muleContext, name, sourceTypesDEFAULT_PRIORITY_WEIGHTING, MAX_PRIORITY_WEIGHTING, MIN_PRIORITY_WEIGHTING| Constructor and Description |
|---|
ByteArrayToObject() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doTransform(Object src,
Charset encoding) |
getPriorityWeighting, getSerializationProtocol, setPriorityWeightingdispose, generateTransformerName, getName, getReturnDataType, getSourceDataTypes, initialise, isAcceptNull, isAllowNullReturn, isConsumed, isIgnoreBadInput, isSourceDataTypeSupported, isSourceDataTypeSupported, process, registerSourceType, resolveEncoding, setAllowNullReturn, setIgnoreBadInput, setMuleContext, setName, setReturnDataType, toString, transform, transform, unregisterSourceTypegetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProcessingTypegetReturnDataType, getSourceDataTypes, isAcceptNull, isIgnoreBadInput, isSourceDataTypeSupported, setReturnDataType, transform, transformsetMuleContextpublic Object doTransform(Object src, Charset encoding) throws TransformerException
doTransform in class ByteArrayToSerializableTransformerExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.