01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * See the License for the specific language governing rights and
10: * limitations under the License.
11: *
12: * The Initial Developer of the Original Code is Simulacra Media Ltd.
13: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14: *
15: * All Rights Reserved.
16: *
17: * Contributor(s):
18: */
19: package org.openharmonise.webdav.client;
20:
21: /**
22: *
23: * @author Matthew Large
24: * @version $Revision: 1.1 $
25: *
26: */
27: public class StatusMapping {
28:
29: private int m_nHTTPStatus = 200;
30:
31: private int m_nLevel = 0;
32:
33: private int m_nStatus = 0;
34:
35: public StatusMapping(int nHTTPStatus, int nLevel, int nStatus) {
36: super ();
37: this .m_nHTTPStatus = nHTTPStatus;
38: this .m_nLevel = nLevel;
39: this .m_nStatus = nStatus;
40: }
41:
42: public int getLevel() {
43: return this .m_nLevel;
44: }
45:
46: public int getStatus() {
47: return this.m_nStatus;
48: }
49: }
|