version 1.69, 2004/10/17 20:39:18
|
version 1.70, 2004/10/25 18:26:02
|
|
|
// (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 | // Willis White (whiwill@us.ibm.com) PEP 127 and 128 |
|
// Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase2 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
const ContentLanguages & contentLanguages, | const ContentLanguages & contentLanguages, |
Uint32 contentLength); | Uint32 contentLength); |
| |
static void appendMethodResponseHeader( |
// added to accommodate sending WBEMServerResponseTime PEP #128 |
Array<Sint8>& out, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & contentLanguages, |
|
Uint32 contentLength); |
|
|
|
// added to accommidate sending WBEMServerResponseTime PEP #128 |
|
static void appendMethodResponseHeader( | static void appendMethodResponseHeader( |
Array<Sint8>& out, | Array<Sint8>& out, |
HttpMethod httpMethod, | HttpMethod httpMethod, |
const ContentLanguages & contentLanguages, | const ContentLanguages & contentLanguages, |
Uint32 contentLength, | Uint32 contentLength, |
Uint64 serverResponseTime); |
Uint64 serverResponseTime = 0); |
| |
static void appendHttpErrorResponseHeader( | static void appendHttpErrorResponseHeader( |
Array<Sint8>& out, | Array<Sint8>& out, |
|
|
const AcceptLanguages& httpAcceptLanguages, | const AcceptLanguages& httpAcceptLanguages, |
const ContentLanguages& httpContentLanguages); | const ContentLanguages& httpContentLanguages); |
| |
static Array<Sint8> formatSimpleMethodRspMessage( |
|
const CIMName& methodName, |
|
const String& messageId, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & httpContentLanguages, |
|
const Array<Sint8>& body, |
|
Boolean isFirst = true, |
|
Boolean isLast = true); |
|
|
|
//PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header | //PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header |
static Array<Sint8> formatSimpleMethodRspMessage( | static Array<Sint8> formatSimpleMethodRspMessage( |
const CIMName& methodName, | const CIMName& methodName, |
|
|
const ContentLanguages& httpContentLanguages, | const ContentLanguages& httpContentLanguages, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleIMethodRspMessage( |
|
const CIMName& iMethodName, |
|
const String& messageId, |
|
HttpMethod httpMethod, |
|
const ContentLanguages & httpContentLanguages, |
|
const Array<Sint8>& body, |
|
Boolean isFirst = true, |
|
Boolean isLast = true); |
|
|
|
//PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header | //PEP 128 - sending serverResponseTime (WBEMServerResponseTime) in respons header |
static Array<Sint8> formatSimpleIMethodRspMessage( | static Array<Sint8> formatSimpleIMethodRspMessage( |
const CIMName& iMethodName, | const CIMName& iMethodName, |