version 1.67, 2004/06/24 19:49:53
|
version 1.68, 2004/07/01 02:22:30
|
|
|
// Carol Ann Krug Graves, Hewlett-Packard Company | // Carol Ann Krug Graves, Hewlett-Packard Company |
// (carolann_graves@hp.com) | // (carolann_graves@hp.com) |
// Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase1 | // Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase1 |
|
// Willis White (whiwill@us.ibm.com) PEP 127 and 128 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
const ContentLanguages & contentLanguages, | const ContentLanguages & contentLanguages, |
Uint32 contentLength); | Uint32 contentLength); |
| |
|
// added to accommidate sending WBEMServerResponseTime PEP #128 |
|
static void appendMethodResponseHeader( |
|
Array<Sint8>& out, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & contentLanguages, |
|
Uint32 contentLength, |
|
Uint64 serverResponseTime); |
|
|
static void appendHttpErrorResponseHeader( | static void appendHttpErrorResponseHeader( |
Array<Sint8>& out, | Array<Sint8>& out, |
const String& status, | const String& status, |
|
|
Boolean isFirst = true, | Boolean isFirst = true, |
Boolean isLast = true); | Boolean isLast = true); |
| |
|
//PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header |
|
static Array<Sint8> formatSimpleMethodRspMessage( |
|
const CIMName& methodName, |
|
const String& messageId, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & httpContentLanguages, |
|
const Array<Sint8>& body, |
|
Uint64 serverResponseTime, |
|
Boolean isFirst = true, |
|
Boolean isLast = true); |
|
|
static Array<Sint8> formatSimpleMethodErrorRspMessage( | static Array<Sint8> formatSimpleMethodErrorRspMessage( |
const CIMName& methodName, | const CIMName& methodName, |
const String& messageId, | const String& messageId, |
|
|
Boolean isFirst = true, | Boolean isFirst = true, |
Boolean isLast = true); | Boolean isLast = true); |
| |
|
//PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header |
|
static Array<Sint8> formatSimpleIMethodRspMessage( |
|
const CIMName& iMethodName, |
|
const String& messageId, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & httpContentLanguages, |
|
const Array<Sint8>& body, |
|
Uint64 serverResponseTime, |
|
Boolean isFirst = true, |
|
Boolean isLast = true); |
|
|
static Array<Sint8> formatSimpleIMethodErrorRspMessage( | static Array<Sint8> formatSimpleIMethodErrorRspMessage( |
const CIMName& iMethodName, | const CIMName& iMethodName, |
const String& messageId, | const String& messageId, |