blob: 891e9a332d8055edb83149339d43598427b78cac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// -*- C++ -*-
//
// $Id$
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
namespace HTTP
{
ACE_INLINE
void Response::reset ()
{
this->clear ();
this->set_version (EMPTY);
this->status_ = Status ();
}
ACE_INLINE
void Response::reset (const Status& status)
{
this->clear ();
this->set_version (EMPTY);
this->status_ = status;
}
ACE_INLINE
void Response::reset (const ACE_CString& version, const Status& status)
{
this->clear ();
this->set_version (version);
this->status_ = status;
}
ACE_INLINE
void Response::set_status(const Status& status)
{
this->status_ = status;
}
/// Return the status.
ACE_INLINE
const Status& Response::get_status() const
{
return this->status_;
}
}
}
ACE_END_VERSIONED_NAMESPACE_DECL
|