| HTTP classes / The HTTPPart class | |
Methods for the com.HTTPPart class.
| Name | Description | 
|---|---|
                            CreateAttachment( filename STRING) RETURNING part-object com.HTTPPart  | 
                        Creates a new HTTPPart object based on given filename located on disk. | 
                            CreateFromData( b BYTE) RETURNING part-object com.HTTPPart  | 
                        Creates a new HTTPPart object based on given BYTE located in memory. | 
CreateFromDomDocument( x xml.DomDocument) RETURNING part-object com.HTTPPart  | 
Creates a new HTTPPart object based on given XML document. | 
                            CreateFromString( s STRING) RETURNING part-object com.HTTPPart  | 
                        Creates a new HTTPPart object based on given string. | 
| Name | Description | 
|---|---|
getAttachment() RETURNING filename STRING  | 
Returns the absolute path to the HTTP part. | 
                            getContentAsData( b BYTE )  | 
                        Returns the HTTP part as a BYTE. | 
                            getContentAsDomDocument() RETURNING domDocument xml.DomDocument  | 
                        Returns the HTTP part as a XML document. | 
                            getHeader( name STRING ) RETURNING value STRING  | 
                        Setter to handle HTTP multipart headers. | 
                            getContentAsString() RETURNING str STRING  | 
                        Returns the HTTP part as a string. | 
setHeader( name STRING, value STRING)  | 
Setter to handle HTTP multipart headers. |