|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.AbstractMessageAdapter
org.mule.providers.soap.xfire.XFireMessageAdapter
XFireMessageAdapter wraps an XFire MessageContext, reading
attachments and Mule headers.
| Field Summary |
| Fields inherited from class org.mule.providers.AbstractMessageAdapter |
attachments, encoding, exceptionPayload, id, logger, properties |
| Constructor Summary | |
XFireMessageAdapter(Object message)
|
|
| Method Summary | |
void |
addAttachment(String name,
DataHandler dataHandler)
|
org.codehaus.xfire.MessageContext |
getMessageContext()
|
Object |
getPayload()
|
byte[] |
getPayloadAsBytes()
Converts the payload implementation into a String representation |
String |
getPayloadAsString(String encoding)
Converts the message implementation into a String representation |
protected void |
initAttachments()
|
protected void |
initHeaders()
|
void |
removeAttachment(String name)
|
void |
setMessageContext(org.codehaus.xfire.MessageContext messageContext)
|
| Methods inherited from class org.mule.providers.AbstractMessageAdapter |
addProperties, clearProperties, convertToBytes, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getPayloadAsString, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, removeProperty, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setReplyTo, setStringProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XFireMessageAdapter(Object message)
| Method Detail |
public String getPayloadAsString(String encoding)
throws Exception
encoding - The encoding to use when transforming the message (if
necessary). The parameter is used when converting from a byte array
Exception - Implementation may throw an endpoint specific exception
public byte[] getPayloadAsBytes()
throws Exception
Exception - Implemetation may throw an endpoint specific exceptionpublic Object getPayload()
public void addAttachment(String name,
DataHandler dataHandler)
throws Exception
Exception
public void removeAttachment(String name)
throws Exception
Exceptionpublic org.codehaus.xfire.MessageContext getMessageContext()
public void setMessageContext(org.codehaus.xfire.MessageContext messageContext)
protected void initHeaders()
protected void initAttachments()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||