当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
MockSOAPMessage - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.wsrp.handler
Class MockSOAPMessage
java.lang.Object
javax.xml.soap.SOAPMessage
org.jboss.portal.test.wsrp.handler.MockSOAPMessage
- public class MockSOAPMessage
- extends javax.xml.soap.SOAPMessage
- Since:
- 2.4
- Version:
- $Revision$
- Author:
- Chris
Laprun
Field Summary |
(package private) javax.xml.soap.MimeHeaders |
headers
|
Fields inherited from class javax.xml.soap.SOAPMessage |
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION |
Methods inherited from class javax.xml.soap.SOAPMessage |
createAttachmentPart, createAttachmentPart, getProperty, getSOAPBody, getSOAPHeader, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headers
javax.xml.soap.MimeHeaders headers
MockSOAPMessage
public MockSOAPMessage()
MockSOAPMessage
public MockSOAPMessage(javax.xml.soap.MimeHeaders headers)
getMimeHeaders
public javax.xml.soap.MimeHeaders getMimeHeaders()
setMimeHeaders
public void setMimeHeaders(javax.xml.soap.MimeHeaders mimeHeaders)
addAttachmentPart
public void addAttachmentPart(javax.xml.soap.AttachmentPart attachmentPart)
createAttachmentPart
public javax.xml.soap.AttachmentPart createAttachmentPart()
getContentDescription
public java.lang.String getContentDescription()
setContentDescription
public void setContentDescription(java.lang.String string)
getSOAPPart
public javax.xml.soap.SOAPPart getSOAPPart()
removeAllAttachments
public void removeAllAttachments()
countAttachments
public int countAttachments()
getAttachments
public java.util.Iterator getAttachments()
getAttachments
public java.util.Iterator getAttachments(javax.xml.soap.MimeHeaders mimeHeaders)
saveChanges
public void saveChanges()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
saveRequired
public boolean saveRequired()
writeTo
public void writeTo(java.io.OutputStream outputStream)
throws javax.xml.soap.SOAPException,
java.io.IOException
- Throws:
javax.xml.soap.SOAPException
java.io.IOException