https://issues.shibboleth.net/jira/browse/CPPXT-96
[shibboleth/cpp-xmltooling.git] / xmltooling / io / HTTPRequest.h
index e4b2d79..6568475 100644 (file)
@@ -29,9 +29,6 @@
 
 #include <xmltooling/io/GenericRequest.h>
 
-#include <map>
-#include <string>
-
 namespace xmltooling {
 
 #if defined (_MSC_VER)
@@ -104,6 +101,13 @@ namespace xmltooling {
          */
         virtual const char* getCookie(const char* name) const;
 
+        /**
+         * Gets all the cookies supplied by the client.
+         *
+         * @return  a map of cookie name/value pairs
+         */
+        virtual const std::map<std::string,std::string>& getCookies() const;
+
     private:
         mutable std::map<std::string,std::string> m_cookieMap;
     };