version 1.1.2.4, 2001/08/20 02:37:39
|
version 1.3, 2002/02/25 23:57:07
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%////////-*-c++-*-//////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM, | // Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM, |
// The Open Group, Tivoli Systems | // The Open Group, Tivoli Systems |
|
|
// Author: Mike Brasher (mbrasher@bmc.com) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: | // Modified By: |
|
// Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#include <Pegasus/Common/Message.h> | #include <Pegasus/Common/Message.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
#include <Pegasus/Common/Monitor.h> | #include <Pegasus/Common/Monitor.h> |
|
#include <Pegasus/Common/AuthenticationInfo.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
{ | { |
public: | public: |
| |
|
typedef Message Base; |
|
|
HTTPMessage(const Array<Sint8>& message_, Uint32 queueId_ = 0); | HTTPMessage(const Array<Sint8>& message_, Uint32 queueId_ = 0); |
| |
|
HTTPMessage(HTTPMessage & msg); |
|
|
Array<Sint8> message; | Array<Sint8> message; |
Uint32 queueId; | Uint32 queueId; |
|
AuthenticationInfo* authInfo; |
| |
void parse( | void parse( |
String& startLine, | String& startLine, |
Array<HTTPHeader>& headers, | Array<HTTPHeader>& headers, |
Sint8*& content, |
|
Uint32& contentLength) const; | Uint32& contentLength) const; |
| |
void printAll(PEGASUS_STD(ostream)& os) const; | void printAll(PEGASUS_STD(ostream)& os) const; |