public class ProxyDetails extends Object
| Constructor and Description |
|---|
ProxyDetails(boolean valid,
String stringProxyURL,
HttpProxyRule proxyRule) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.HttpClient |
createHttpClient(org.apache.commons.httpclient.HttpMethod httpMethodProxyRequest) |
String |
getProxyHostAndPort() |
String |
getProxyPath() |
HttpProxyRule |
getProxyRule() |
String |
getStringProxyURL() |
protected int |
indexOf(String text,
String... values)
Returns the lowest index of the given list of values
|
boolean |
isValid() |
public ProxyDetails(boolean valid,
String stringProxyURL,
HttpProxyRule proxyRule)
protected int indexOf(String text, String... values)
public boolean isValid()
public String getStringProxyURL()
public org.apache.commons.httpclient.HttpClient createHttpClient(org.apache.commons.httpclient.HttpMethod httpMethodProxyRequest)
public String getProxyHostAndPort()
public String getProxyPath()
public HttpProxyRule getProxyRule()
Copyright © 2011–2014 Red Hat. All rights reserved.