diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseRequestHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseRequestHandler.cs | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/OpenSim/Framework/Servers/BaseRequestHandler.cs b/OpenSim/Framework/Servers/BaseRequestHandler.cs index b357763..155a283 100644 --- a/OpenSim/Framework/Servers/BaseRequestHandler.cs +++ b/OpenSim/Framework/Servers/BaseRequestHandler.cs | |||
@@ -1,35 +1,35 @@ | |||
1 | namespace OpenSim.Framework.Servers | 1 | namespace OpenSim.Framework.Servers |
2 | { | 2 | { |
3 | public class BaseRequestHandler | 3 | public class BaseRequestHandler |
4 | { | 4 | { |
5 | public virtual string ContentType | 5 | public virtual string ContentType |
6 | { | 6 | { |
7 | get { return "application/xml"; } | 7 | get { return "application/xml"; } |
8 | } | 8 | } |
9 | 9 | ||
10 | private readonly string m_httpMethod; | 10 | private readonly string m_httpMethod; |
11 | 11 | ||
12 | public virtual string HttpMethod | 12 | public virtual string HttpMethod |
13 | { | 13 | { |
14 | get { return m_httpMethod; } | 14 | get { return m_httpMethod; } |
15 | } | 15 | } |
16 | 16 | ||
17 | private readonly string m_path; | 17 | private readonly string m_path; |
18 | 18 | ||
19 | protected BaseRequestHandler(string httpMethod, string path) | 19 | protected BaseRequestHandler(string httpMethod, string path) |
20 | { | 20 | { |
21 | m_httpMethod = httpMethod; | 21 | m_httpMethod = httpMethod; |
22 | m_path = path; | 22 | m_path = path; |
23 | } | 23 | } |
24 | 24 | ||
25 | public virtual string Path | 25 | public virtual string Path |
26 | { | 26 | { |
27 | get { return m_path; } | 27 | get { return m_path; } |
28 | } | 28 | } |
29 | 29 | ||
30 | protected string GetParam(string path) | 30 | protected string GetParam(string path) |
31 | { | 31 | { |
32 | return path.Substring(m_path.Length); | 32 | return path.Substring(m_path.Length); |
33 | } | 33 | } |
34 | } | 34 | } |
35 | } \ No newline at end of file | 35 | } \ No newline at end of file |