projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e8c8ba
)
Default response methods.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 12 Jan 2007 05:43:16 +0000
(
05:43
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 12 Jan 2007 05:43:16 +0000
(
05:43
+0000)
saml/binding/HTTPResponse.h
patch
|
blob
|
history
diff --git
a/saml/binding/HTTPResponse.h
b/saml/binding/HTTPResponse.h
index
1af35a4
..
b4af8f5
100644
(file)
--- a/
saml/binding/HTTPResponse.h
+++ b/
saml/binding/HTTPResponse.h
@@
-76,6
+76,14
@@
namespace opensaml {
SAML_HTTP_STATUS_NOTFOUND = 404,
SAML_HTTP_STATUS_ERROR = 500
};
+
+ long sendError(std::istream& inputStream) {
+ return static_cast<GenericResponse*>(this)->sendResponse(inputStream, SAML_HTTP_STATUS_ERROR);
+ }
+
+ long sendResponse(std::istream& inputStream) {
+ return static_cast<GenericResponse*>(this)->sendResponse(inputStream, SAML_HTTP_STATUS_OK);
+ }
};
};