org.apache.axis
public interface Part extends Serializable
SOAPPart
containing the SOAP message, and 0 or more
AttachmentParts
instances containing each of the attachments.
Method Summary | |
---|---|
void | addMimeHeader(String header, String value)
Add the specified MIME header, as per JAXM.
|
String | getContentId()
Get the content ID.
|
String | getContentIdRef()
Content ID.
|
String | getContentLocation()
Get the content location.
|
String | getContentType()
Get the content type.
|
Iterator | getMatchingMimeHeaders(String[] match)
Get an Iterator over all headers that match any item in
match . |
String[] | getMimeHeader(String name)
Gets all the values of the MimeHeader object
in this SOAPPart object that is identified by
the given String . |
Iterator | getNonMatchingMimeHeaders(String[] match)
Get all headers that do not match. |
void | setContentId(String newCid)
Sets Content-Id of this part.
already defined. |
void | setContentLocation(String loc)
Set content location.
|
Parameters: header the MIME header name value the value associated with the header
Returns: the content ID
Returns: the contentId reference value that should be used directly as an href in a SOAP element to reference this attachment. Not part of JAX-RPC, JAX-M, SAAJ, etc.
Returns: a String
giving the location
Returns: the content type String
Iterator
over all headers that match any item in
match
.MimeHeader
object
in this SOAPPart
object that is identified by
the given String
.Parameters: name the name of the header; example: "Content-Type"
Returns: a String
array giving all the values for
the specified header
Parameters: newCid new Content-Id
Parameters: loc the new location