Name
AttachmentPart
Synopsis
public abstract class AttachmentPart { // Public Constructors public AttachmentPart( ); // Property Accessor Methods (by property name) public abstract Iterator getAllMimeHeaders( ); public abstract Object getContent( ) throws SOAPException; public String getContentId( ); public void setContentId( StringcontentId
); public String getContentLocation( ); public void setContentLocation( StringcontentLocation
); public String getContentType( ); public void setContentType( StringcontentType
); public abstract javax.activation.DataHandler getDataHandler( ) throws SOAPException; public abstract void setDataHandler( javax.activation.DataHandlerdataHandler
); public abstract int getSize( ) throws SOAPException; // Public Instance Methods public abstract void addMimeHeader(Stringname
, Stringvalue
); public abstract void clearContent( ); public abstract Iterator getMatchingMimeHeaders(String[ ]names
); public abstract String[ ] getMimeHeader(Stringname
); public abstract Iterator getNonMatchingMimeHeaders(String[ ]names
); public abstract void removeAllMimeHeaders( ); public abstract void removeMimeHeader( Stringheader
); public abstract void setContent(Objectobject
, StringcontentType
); public abstract void setMimeHeader(Stringname
, Stringvalue
); }
The AttachmentPart
class represents an
attachment
to a SOAP message. Attachments are created using the
createAttachment( )
method of the
SOAPMessage
class and are composed of MIME-encoded content and a set of MIME ...
Get Java Web Services in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.