(file) Return to HTTPMessage.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/HTTPMessage.h between version 1.34 and 1.35

version 1.34, 2008/12/16 18:56:00 version 1.35, 2008/12/18 18:52:01
Line 47 
Line 47 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 typedef Pair<String, String> HTTPHeader;  typedef Pair<Buffer, Buffer> HTTPHeader;
  
 /** This message is sent from a connection to its output queue when /** This message is sent from a connection to its output queue when
     a complete HTTP message is received.     a complete HTTP message is received.
Line 86 
Line 86 
  
     static void lookupHeaderPrefix(     static void lookupHeaderPrefix(
         Array<HTTPHeader>& headers,         Array<HTTPHeader>& headers,
         const String& fieldName,          const char* fieldName,
         String& prefix);         String& prefix);
  
     static Boolean lookupHeader(     static Boolean lookupHeader(
         Array<HTTPHeader>& headers,         Array<HTTPHeader>& headers,
         const String& fieldName,          const char* fieldName,
         String& fieldValue,         String& fieldValue,
         Boolean allowNamespacePrefix = false);         Boolean allowNamespacePrefix = false);
  
       static Boolean lookupHeader(
           Array<HTTPHeader>& headers,
           const char* fieldName,
           const char*& fieldValue,
           Boolean allowNamespacePrefix = false);
   
     static Boolean parseRequestLine(     static Boolean parseRequestLine(
         const String& startLine,         const String& startLine,
         String& methodName,         String& methodName,
Line 108 
Line 114 
         String& reasonPhrase);         String& reasonPhrase);
  
     static Boolean parseContentTypeHeader(     static Boolean parseContentTypeHeader(
         const String& contentTypeHeader,          const char* contentTypeHeader,
         String& type,         String& type,
         String& charset);         String& charset);
  
Line 155 
Line 161 
     static char* findSeparator(     static char* findSeparator(
         const char* data,         const char* data,
         Uint32 size);         Uint32 size);
   
   private:
   
       static Boolean _lookupHeaderIndex(
           Array<HTTPHeader>& headers,
           const char* fieldName,
           Uint32& headerIndex,
           Boolean allowNamespacePrefix);
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2