June 2003
Intermediate to advanced
672 pages
23h 48m
English
SOAPPart
public abstract class SOAPPart {
// Public Constructors
public SOAPPart( );
// Property Accessor Methods (by property name)
public abstract Iterator getAllMimeHeaders( );
public abstract javax.xml.transform.Source getContent( )
throws SOAPException;
public abstract void setContent(javax.xml.transform.Source source)
throws SOAPException;
public String getContentId( );
public void setContentId( String contentId);
public String getContentLocation( );
public void setContentLocation(String contentLocation);
public abstract SOAPEnvelope getEnvelope( ) throws SOAPException;
// Public Instance Methods
public abstract void addMimeHeader(String name, String value);
public abstract Iterator getMatchingMimeHeaders(String[ ] names);
public abstract String[ ] getMimeHeader(String name);
public abstract Iterator getNonMatchingMimeHeaders(String[ ] names);
public abstract void removeAllMimeHeaders( );
public abstract void removeMimeHeader( String header);
public abstract void setMimeHeader(String name, String value);
}SOAPPart is a container that wraps the envelope of
a SOAP message. To get a reference to the
SOAPPart, use the getSOAPPart( ) method of the containing SOAPMessage.
Aside from getEnvelope( ), all of the methods of
the SOAPPart interface are concerned with
manipulating its associated MIME headers, which are used only if the
SOAP message has one or more MIME attachments. Refer to the reference
section for AttachmentPart, earlier in this chapter for a description ...
Read now
Unlock full access