| Modifier and Type | Method | Description |
|---|---|---|
abstract AttachmentPart |
SOAPMessage.createAttachmentPart() |
Creates a new empty
AttachmentPart object. |
AttachmentPart |
SOAPMessage.createAttachmentPart(Object content,
String contentType) |
Creates an
AttachmentPart object and populates it with
the specified data of the specified content type. |
AttachmentPart |
SOAPMessage.createAttachmentPart(DataHandler dataHandler) |
Creates an
AttachmentPart object and populates it using
the given DataHandler object. |
abstract AttachmentPart |
SOAPMessage.getAttachment(SOAPElement element) |
Returns an
AttachmentPart object that is associated with an
attachment that is referenced by this SOAPElement or
null if no such attachment exists. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract Iterator<AttachmentPart> |
SOAPMessage.getAttachments() |
Retrieves all the
AttachmentPart objects that are part of
this SOAPMessage object. |
abstract Iterator<AttachmentPart> |
SOAPMessage.getAttachments(MimeHeaders headers) |
Retrieves all the
AttachmentPart objects that have header
entries that match the specified headers. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
SOAPMessage.addAttachmentPart(AttachmentPart attachmentPart) |
Adds the given
AttachmentPart object to this SOAPMessage
object. |
Copyright © 2017 Oracle. All rights reserved.