org.mule.module.cxf.support
Class OutputPayloadInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
org.mule.module.cxf.support.OutputPayloadInterceptor
- All Implemented Interfaces:
- org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class OutputPayloadInterceptor
- extends org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
Fields inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor |
DISABLE_OUTPUTSTREAM_OPTIMIZATION, OUT_BUFFERING |
Methods inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor |
getDataWriter, getXMLStreamWriter, isRequestor, shouldValidate, writeParts, writeToOutputStream |
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputPayloadInterceptor
public OutputPayloadInterceptor()
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
ensurePartIndexMatchListIndex
protected void ensurePartIndexMatchListIndex(org.apache.cxf.message.MessageContentsList contentList,
List<org.apache.cxf.service.model.MessagePartInfo> parts)
- Ensures that each part's content is in the right place in the content list.
This is required because in some scenarios there are parts that were removed from
the part list. In that cases, the content list contains only the values for the
remaining parts, but the part's indexes could be wrong. This method fixes that
adding null values into the content list so the part's index matches the contentList
index. (Related to: MULE-5113.)
cleanUpPayload
protected Object cleanUpPayload(Object payload)
getDelayedResultCallback
protected Object getDelayedResultCallback(DelayedResult r)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.