KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > components > net > DefaultHTTPSTransportClientProperties


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
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 org.apache.axis.components.net;
17
18 import org.apache.axis.AxisProperties;
19
20
21 /**
22  * @author Richard A. Sitze
23  */

24 public class DefaultHTTPSTransportClientProperties
25     extends DefaultHTTPTransportClientProperties {
26
27     /**
28      * @see org.apache.axis.components.net.TransportClientProperties#getProxyHost()
29      */

30     public String JavaDoc getProxyHost() {
31         if (proxyHost == null) {
32             proxyHost = AxisProperties.getProperty("https.proxyHost");
33             super.getProxyHost();
34         }
35         return proxyHost;
36     }
37
38     /**
39      * @see org.apache.axis.components.net.TransportClientProperties#getNonProxyHosts()
40      */

41     public String JavaDoc getNonProxyHosts() {
42         if (nonProxyHosts == null) {
43             nonProxyHosts = AxisProperties.getProperty("https.nonProxyHosts");
44             super.getNonProxyHosts();
45         }
46         return nonProxyHosts;
47     }
48
49     /**
50      * @see org.apache.axis.components.net.TransportClientProperties#getPort()
51      */

52     public String JavaDoc getProxyPort() {
53         if (proxyPort == null) {
54             proxyPort = AxisProperties.getProperty("https.proxyPort");
55             super.getProxyPort();
56         }
57         return proxyPort;
58     }
59
60     /**
61      * @see org.apache.axis.components.net.TransportClientProperties#getUser()
62      */

63     public String JavaDoc getProxyUser() {
64         if (proxyUser == null) {
65             proxyUser = AxisProperties.getProperty("https.proxyUser");
66             super.getProxyUser();
67         }
68         return proxyUser;
69     }
70
71     /**
72      * @see org.apache.axis.components.net.TransportClientProperties#getPassword()
73      */

74     public String JavaDoc getProxyPassword() {
75         if (proxyPassword == null) {
76             proxyPassword = AxisProperties.getProperty("https.proxyPassword");
77             super.getProxyPassword();
78         }
79         return proxyPassword;
80     }
81 }
82
Popular Tags