1 package org.apache.maven.repository;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 public class Proxy
23 {
24 public static final String PROXY_SOCKS5 = "SOCKS_5";
25
26 public static final String PROXY_SOCKS4 = "SOCKS4";
27
28 public static final String PROXY_HTTP = "HTTP";
29
30
31
32
33 private String host;
34
35
36
37
38 private String userName;
39
40
41
42
43 private String password;
44
45
46
47
48 private int port;
49
50
51
52
53 private String protocol;
54
55
56
57
58 private String nonProxyHosts;
59
60
61
62
63 private String ntlmHost;
64
65
66
67
68 private String ntlmDomain;
69
70
71
72
73
74
75 public String getHost()
76 {
77 return host;
78 }
79
80
81
82
83
84
85 public void setHost( String host )
86 {
87 this.host = host;
88 }
89
90
91
92
93
94
95 public String getPassword()
96 {
97 return password;
98 }
99
100
101
102
103
104
105 public void setPassword( String password )
106 {
107 this.password = password;
108 }
109
110
111
112
113
114
115 public int getPort()
116 {
117 return port;
118 }
119
120
121
122
123
124
125 public void setPort( int port )
126 {
127 this.port = port;
128 }
129
130
131
132
133
134
135 public String getUserName()
136 {
137 return userName;
138 }
139
140
141
142
143
144
145 public void setUserName( String userName )
146 {
147 this.userName = userName;
148 }
149
150
151
152
153
154
155 public String getProtocol()
156 {
157 return protocol;
158 }
159
160
161
162
163 public void setProtocol( String protocol )
164 {
165 this.protocol = protocol;
166 }
167
168 public String getNonProxyHosts()
169 {
170 return nonProxyHosts;
171 }
172
173 public void setNonProxyHosts( String nonProxyHosts )
174 {
175 this.nonProxyHosts = nonProxyHosts;
176 }
177
178 public String getNtlmHost()
179 {
180 return ntlmHost;
181 }
182
183 public void setNtlmHost( String ntlmHost )
184 {
185 this.ntlmHost = ntlmHost;
186 }
187
188 public void setNtlmDomain( String ntlmDomain )
189 {
190 this.ntlmDomain = ntlmDomain;
191 }
192
193 public String getNtlmDomain()
194 {
195 return ntlmDomain;
196 }
197 }