01: /*
02: * ProxyInfo.java
03: *
04: * Created on May 26, 2003, 5:33 PM
05: */
06:
07: package com.sun.portal.netlet.eproxy;
08:
09: /**
10: * Moving all rproxy dependencies into a single class. Atleast all HTTP stuffs
11: * are kept away from EProxy
12: *
13: * @author Rajesh T
14: */
15:
16: import com.sun.portal.util.DomainWebProxyConfig;
17:
18: public class ProxyInfo {
19:
20: /*
21: */
22:
23: public static String getWebProxy(String protocol, String host) {
24: return DomainWebProxyConfig.getWebProxy(protocol, host);
25: }
26:
27: /*
28: */
29:
30: public static String getProxyPassword(String proxyHost) {
31: return DomainWebProxyConfig.getProxyPassword(proxyHost);
32: }
33: }
|