public class HttpRequestToByteArray extends AbstractDiscoverableTransformer
HttpServletRequest
into an array of bytes by extracting the payload of
the request.DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypes
DEFAULT_PRIORITY_WEIGHTING, MAX_PRIORITY_WEIGHTING, MIN_PRIORITY_WEIGHTING
PHASE_NAME
Constructor and Description |
---|
HttpRequestToByteArray() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doTransform(Object src,
String encoding) |
getPriorityWeighting, setPriorityWeighting
checkReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceType
protected Object doTransform(Object src, String encoding) throws TransformerException
doTransform
in class AbstractTransformer
TransformerException
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.