Class AxisMessage
- java.lang.Object
-
- org.apache.axis2.transport.testkit.message.AxisMessage
-
public class AxisMessage extends Object
Class encapsulating a SOAP envelope and an attachment map. This class is used byMockMessageReceiver
because it is not safe to keep a reference to theMessageContext
object.
-
-
Constructor Summary
Constructors Constructor Description AxisMessage()
AxisMessage(MessageContext msgContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attachments
getAttachments()
SOAPEnvelope
getEnvelope()
String
getMessageType()
void
setAttachments(Attachments attachments)
void
setEnvelope(SOAPEnvelope envelope)
void
setMessageType(String messageType)
-
-
-
Constructor Detail
-
AxisMessage
public AxisMessage()
-
AxisMessage
public AxisMessage(MessageContext msgContext) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getMessageType
public String getMessageType()
-
setMessageType
public void setMessageType(String messageType)
-
getEnvelope
public SOAPEnvelope getEnvelope()
-
setEnvelope
public void setEnvelope(SOAPEnvelope envelope)
-
getAttachments
public Attachments getAttachments()
-
setAttachments
public void setAttachments(Attachments attachments)
-
-