summaryrefslogtreecommitdiff
path: root/apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-26 18:15:56 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-26 18:15:56 +0000
commit3ec0a2984e41a8edf9301e8623d98aafdf9bf634 (patch)
treebf618e342e50289770a22c0f97cddef7caed6c4b /apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp
parent7aca63cabc7d12d4f0687c39fbe096b38fed9068 (diff)
downloadATCD-TAO-0_4_3.tar.gz
This commit was manufactured by cvs2svn to create tag 'TAO-0_4_3'.TAO-0_4_3
Diffstat (limited to 'apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp')
-rw-r--r--apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp b/apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp
deleted file mode 100644
index 380d0155b0f..00000000000
--- a/apps/JAWS/PROTOTYPE/HTTPU/http_response.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-// $Id$
-
-#include "HTTPU/http_response.h"
-
-void
-HTTP_Response::parse_line (void)
-{
- this->response_.init (this->line ());
- if (this->response_.error () != Parse_HTTP_Response::HTTPU_OK)
- this->status_ = STATUS_INTERNAL_SERVER_ERROR;
-}
-
-int
-HTTP_Response::espouse_line (void)
-{
- int count;
- int status;
-
- if (this->status_ != (int)STATUS_OK)
- status = this->status_;
- else
- status = this->response_line ()->code ();
-
- count = ACE_OS::sprintf (this->mb_->wr_ptr (), "%s %d %s\r\n",
- "HTTP/1.1",
- status,
- (char *)(*HTTP_SCode::instance ())[status]);
- // Last arg is hard coded since we are suppose to report the
- // level of server we are, and not act like the level of the
- // client. This information should be obtained from the config.
-
- if (count < 0)
- return -1;
-
- this->mb_->wr_ptr (count);
- return 0;
-}
-
-void
-HTTP_Response::dump (void)
-{
- ACE_DEBUG ((LM_DEBUG, "===== BEGIN entera_HTTP_Response::dump =====\n"));
- HTTP_Base::dump ();
- ACE_DEBUG ((LM_DEBUG, "===== END entera_HTTP_Response::dump =====\n"));
-}
-
-#if !defined (ACE_HAS_INLINED_OSCALLS)
-# include "HTTPU/http_response.i"
-# endif /* ACE_HAS_INLINED_OSCALLS */