org.apache.axis2.transport.testkit.message
Class AxisMessage
java.lang.Object
org.apache.axis2.transport.testkit.message.AxisMessage
public class AxisMessage
- extends java.lang.Object
Class encapsulating a SOAP envelope and an attachment map.
This class is used by MockMessageReceiver
because it is not safe to
keep a reference to the MessageContext
object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxisMessage
public AxisMessage()
AxisMessage
public AxisMessage(org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMessageType
public java.lang.String getMessageType()
setMessageType
public void setMessageType(java.lang.String messageType)
getEnvelope
public org.apache.axiom.soap.SOAPEnvelope getEnvelope()
setEnvelope
public void setEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
getAttachments
public org.apache.axiom.attachments.Attachments getAttachments()
setAttachments
public void setAttachments(org.apache.axiom.attachments.Attachments attachments)
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.