|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.cxf.CxfPayload<T>
public class CxfPayload<T>
CxfMessage body type when DataFormat.PAYLOAD
is used.
Constructor Summary | |
---|---|
CxfPayload(List<T> headers,
List<Element> body)
|
|
CxfPayload(List<T> headers,
List<Source> body,
Map<String,String> nsMap)
|
Method Summary | |
---|---|
protected static void |
addNamespace(Element element,
Map<String,String> nsMap)
|
List<Element> |
getBody()
Get the body as a List of DOM elements. |
List<Source> |
getBodySources()
Gets the body as a List of source objects. |
List<T> |
getHeaders()
|
String |
toString()
Returns the contents as a String Important notes: 1) This requires the message to be fully loaded breaking the streaming 2) For large messages, the result can be a VERY large String and require large amounts of memory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CxfPayload(List<T> headers, List<Source> body, Map<String,String> nsMap)
public CxfPayload(List<T> headers, List<Element> body)
Method Detail |
---|
public List<Element> getBody()
protected static void addNamespace(Element element, Map<String,String> nsMap)
public List<Source> getBodySources()
public List<T> getHeaders()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |