org.apache.axis
public interface Part extends java.io.Serializable
SOAPPart
containing the SOAP message, and 0 or more
AttachmentParts
instances containing each of the attachments.Modifier and Type | Method and Description |
---|---|
void |
addMimeHeader(java.lang.String header,
java.lang.String value)
Add the specified MIME header, as per JAXM.
|
java.lang.String |
getContentId()
Get the content ID.
|
java.lang.String |
getContentIdRef()
Content ID.
|
java.lang.String |
getContentLocation()
Get the content location.
|
java.lang.String |
getContentType()
Get the content type.
|
java.util.Iterator |
getMatchingMimeHeaders(java.lang.String[] match)
Get an
Iterator over all headers that match any item in
match . |
java.lang.String[] |
getMimeHeader(java.lang.String name)
Gets all the values of the
MimeHeader object
in this SOAPPart object that is identified by
the given String . |
java.util.Iterator |
getNonMatchingMimeHeaders(java.lang.String[] match)
Get all headers that do not match.
|
void |
setContentId(java.lang.String newCid)
Sets Content-Id of this part.
|
void |
setContentLocation(java.lang.String loc)
Set content location.
|
java.lang.String[] getMimeHeader(java.lang.String name)
MimeHeader
object
in this SOAPPart
object that is identified by
the given String
.name
- the name of the header; example:
"Content-Type"String
array giving all the values for
the specified headersetMimeHeader(java.lang.String, java.lang.String)
void addMimeHeader(java.lang.String header, java.lang.String value)
header
- the MIME header namevalue
- the value associated with the headerjava.lang.String getContentLocation()
String
giving the locationvoid setContentLocation(java.lang.String loc)
loc
- the new locationvoid setContentId(java.lang.String newCid)
newCid
- new Content-Idjava.lang.String getContentId()
java.util.Iterator getMatchingMimeHeaders(java.lang.String[] match)
Iterator
over all headers that match any item in
match
.java.util.Iterator getNonMatchingMimeHeaders(java.lang.String[] match)
java.lang.String getContentType()
String
java.lang.String getContentIdRef()
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.