sipxtacklib
Version 3.3
|
#include <HttpBody.h>
Public Member Functions | |
HttpBodyMultipart (const char *contentType) | |
Public Member Functions inherited from HttpBody | |
HttpBody (const char *bytes=NULL, int length=-1, const char *contentType=NULL) | |
HttpBody (const char *contentType) | |
HttpBody (const HttpBody &rHttpBody) | |
virtual | ~HttpBody () |
HttpBody & | operator= (const HttpBody &rhs) |
void | appendBodyPart (const HttpBody &body, const UtlDList ¶meters) |
Append a multipart body part to an existing multiparty body. More... | |
virtual int | getLength () const |
virtual void | getBytes (const char **bytes, int *length) const |
virtual void | getBytes (UtlString *bytes, int *length) const |
virtual const char * | getBytes () const |
UtlBoolean | getMultipartBytes (int partIndex, const char **bytes, int *length, int *start) const |
const MimeBodyPart * | getMultipart (int partIndex) const |
int | getMultipartCount () const |
BodyClassTypes | getClassType () const |
const char * | getMultipartBoundary () const |
Get the multipart boundary string. More... | |
const char * | getContentType () const |
Get the content type string. More... | |
UtlBoolean | isMultipart () const |
Additional Inherited Members | |
Public Types inherited from HttpBody | |
enum | BodyClassTypes { UNKNOWN_BODY_CLASS = 0, HTTP_BODY_CLASS, SMIME_BODY_CLASS, SDP_BODY_CLASS, PIDF_BODY_CLASS, DIALOG_EVENT_BODY_CLASS } |
Static Public Member Functions inherited from HttpBody | |
static HttpBody * | copyBody (const HttpBody &sourceBody) |
Copy the source HttpBody using the correct derived class constructor. More... | |
static HttpBody * | createBody (const char *bodyBytes, int bodyBytesLength, const char *contentType, const char *contentEncoding) |
Pseudo body factory. More... | |
Protected Attributes inherited from HttpBody | |
int | bodyLength |
UtlString | mBody |
UtlString | mMultipartBoundary |
int | mBodyPartCount |
MimeBodyPart * | mpBodyParts [MAX_HTTP_BODY_PARTS] |
BodyClassTypes | mClassType |
HttpBodyMultipart | ( | const char * | contentType | ) |