~ubuntu-branches/ubuntu/raring/ant-contrib/raring

« back to all changes in this revision

Viewing changes to src/main/java/net/sf/antcontrib/net/httpclient/Credentials.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-09-26 08:45:47 UTC
  • Revision ID: james.westby@ubuntu.com-20090926084547-ynj34y27mg9dr60c
Tags: upstream-1.0~b3+svn177
ImportĀ upstreamĀ versionĀ 1.0~b3+svn177

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2001-2006 Ant-Contrib project.  All rights reserved.
 
3
 *
 
4
 * Licensed under the Apache License, Version 2.0 (the "License");
 
5
 * you may not use this file except in compliance with the License.
 
6
 * You may obtain a copy of the License at
 
7
 *
 
8
 *     http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
package net.sf.antcontrib.net.httpclient;
 
17
 
 
18
public class Credentials {
 
19
        private String host;
 
20
        private int port = -1;
 
21
        private String realm;
 
22
        private String scheme;
 
23
        private String username;
 
24
        private String password;
 
25
 
 
26
        public String getPassword() {
 
27
                return password;
 
28
        }
 
29
        public void setPassword(String password) {
 
30
                this.password = password;
 
31
        }
 
32
        public String getUsername() {
 
33
                return username;
 
34
        }
 
35
        public void setUsername(String username) {
 
36
                this.username = username;
 
37
        }
 
38
        public String getHost() {
 
39
                return host;
 
40
        }
 
41
        public void setHost(String host) {
 
42
                this.host = host;
 
43
        }
 
44
        public int getPort() {
 
45
                return port;
 
46
        }
 
47
        public void setPort(int port) {
 
48
                this.port = port;
 
49
        }
 
50
        public String getRealm() {
 
51
                return realm;
 
52
        }
 
53
        public void setRealm(String realm) {
 
54
                this.realm = realm;
 
55
        }
 
56
        public String getScheme() {
 
57
                return scheme;
 
58
        }
 
59
        public void setScheme(String scheme) {
 
60
                this.scheme = scheme;
 
61
        }
 
62
        
 
63
}
 
 
b'\\ No newline at end of file'