2 mike 1.2 //
3 // Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM,
4 // The Open Group, Tivoli Systems
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to
8 // deal in the Software without restriction, including without limitation the
9 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 // sell copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
12 //
13 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
14 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
15 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 //
22 //==============================================================================
23 mike 1.2 //
24 // Author: Mike Brasher (mbrasher@bmc.com)
25 //
|
52 mday 1.3 public:
53
54 typedef Message Base;
55
56 HTTPMessage(const Array<Sint8>& message_, Uint32 queueId_ = 0);
57
58 HTTPMessage(HTTPMessage & msg);
59
60 Array<Sint8> message;
61 Uint32 queueId;
62 AuthenticationInfo* authInfo;
63
64 void parse(
65 String& startLine,
66 Array<HTTPHeader>& headers,
67 Uint32& contentLength) const;
68
69 void printAll(PEGASUS_STD(ostream)& os) const;
70
71 static Boolean lookupHeader(
72 Array<HTTPHeader>& headers,
73 mday 1.3 const String& fieldName,
74 String& fieldValue,
|