blob: 5d45d7ed4bdbe25ca537b86acfa99a7377f34296 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>HTTPProxyConfigurationUtil (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HTTPProxyConfigurationUtil (Apache Axis2)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTTPProxyConfigurationUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/axis2/transport/http/util/ComplexPart.html" title="class in org.apache.axis2.transport.http.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/axis2/transport/http/util/QueryStringParser.html" title="class in org.apache.axis2.transport.http.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html" target="_top">Frames</a></li>
<li><a href="HTTPProxyConfigurationUtil.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis2.transport.http.util</div>
<h2 title="Class HTTPProxyConfigurationUtil" class="title">Class HTTPProxyConfigurationUtil</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">HTTPProxyConfigurationUtil</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Contains utility functions used when configuring HTTP Proxy for HTTP Sender.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#ATTR_PROXY">ATTR_PROXY</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#HTTP_NON_PROXY_HOSTS">HTTP_NON_PROXY_HOSTS</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#HTTP_PROXY_HOST">HTTP_PROXY_HOST</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#HTTP_PROXY_PORT">HTTP_PROXY_PORT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_CONFIGURATION_NOT_FOUND">PROXY_CONFIGURATION_NOT_FOUND</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_HOST_ELEMENT">PROXY_HOST_ELEMENT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_HOST_ELEMENT_NOT_FOUND">PROXY_HOST_ELEMENT_NOT_FOUND</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE">PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_PASSWORD_ELEMENT">PROXY_PASSWORD_ELEMENT</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_PORT_ELEMENT">PROXY_PORT_ELEMENT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_PORT_ELEMENT_NOT_FOUND">PROXY_PORT_ELEMENT_NOT_FOUND</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE">PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#PROXY_USER_ELEMENT">PROXY_USER_ELEMENT</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#HTTPProxyConfigurationUtil()">HTTPProxyConfigurationUtil</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#configure(org.apache.axis2.context.MessageContext, org.apache.commons.httpclient.HttpClient, org.apache.commons.httpclient.HostConfiguration)">configure</a></strong>(<a href="../../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext,
org.apache.commons.httpclient.HttpClient&nbsp;httpClient,
org.apache.commons.httpclient.HostConfiguration&nbsp;config)</code>
<div class="block">Configure HTTP Proxy settings of commons-httpclient HostConfiguration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#isHostInNonProxyList(java.lang.String, java.lang.String)">isHostInNonProxyList</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nonProxyHosts)</code>
<div class="block">Check if the specified host is in the list of non proxy hosts.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html#isProxyEnabled(org.apache.axis2.context.MessageContext, java.net.URL)">isProxyEnabled</a></strong>(<a href="../../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;targetURL)</code>
<div class="block">Check whether http proxy is configured or active.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="HTTP_PROXY_HOST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HTTP_PROXY_HOST</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> HTTP_PROXY_HOST</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.HTTP_PROXY_HOST">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="HTTP_PROXY_PORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HTTP_PROXY_PORT</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> HTTP_PROXY_PORT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.HTTP_PROXY_PORT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="HTTP_NON_PROXY_HOSTS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HTTP_NON_PROXY_HOSTS</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> HTTP_NON_PROXY_HOSTS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.HTTP_NON_PROXY_HOSTS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ATTR_PROXY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ATTR_PROXY</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ATTR_PROXY</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.ATTR_PROXY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_HOST_ELEMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_HOST_ELEMENT</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_HOST_ELEMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_HOST_ELEMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_PORT_ELEMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_PORT_ELEMENT</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_PORT_ELEMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_PORT_ELEMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_USER_ELEMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_USER_ELEMENT</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_USER_ELEMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_USER_ELEMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_PASSWORD_ELEMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_PASSWORD_ELEMENT</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_PASSWORD_ELEMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_PASSWORD_ELEMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_CONFIGURATION_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_CONFIGURATION_NOT_FOUND</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_CONFIGURATION_NOT_FOUND</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_CONFIGURATION_NOT_FOUND">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_HOST_ELEMENT_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_HOST_ELEMENT_NOT_FOUND</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_HOST_ELEMENT_NOT_FOUND</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_HOST_ELEMENT_NOT_FOUND">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_PORT_ELEMENT_NOT_FOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_PORT_ELEMENT_NOT_FOUND</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_PORT_ELEMENT_NOT_FOUND</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_PORT_ELEMENT_NOT_FOUND">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_HOST_ELEMENT_WITH_EMPTY_VALUE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE</h4>
<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.util.HTTPProxyConfigurationUtil.PROXY_PORT_ELEMENT_WITH_EMPTY_VALUE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HTTPProxyConfigurationUtil()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HTTPProxyConfigurationUtil</h4>
<pre>public&nbsp;HTTPProxyConfigurationUtil()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="configure(org.apache.axis2.context.MessageContext, org.apache.commons.httpclient.HttpClient, org.apache.commons.httpclient.HostConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre>public static&nbsp;void&nbsp;configure(<a href="../../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext,
org.apache.commons.httpclient.HttpClient&nbsp;httpClient,
org.apache.commons.httpclient.HostConfiguration&nbsp;config)
throws <a href="../../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Configure HTTP Proxy settings of commons-httpclient HostConfiguration. Proxy settings can be get from
axis2.xml, Java proxy settings or can be override through property in message context.
<p/>
HTTP Proxy setting element format:
<parameter name="Proxy">
<Configuration>
<ProxyHost>example.org</ProxyHost>
<ProxyPort>3128</ProxyPort>
<ProxyUser>EXAMPLE/John</ProxyUser>
<ProxyPassword>password</ProxyPassword>
<Configuration>
<parameter></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageContext</code> - in message context for</dd><dd><code>httpClient</code> - commons-httpclient instance</dd><dd><code>config</code> - commons-httpclient HostConfiguration</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if Proxy settings are invalid</dd></dl>
</li>
</ul>
<a name="isProxyEnabled(org.apache.axis2.context.MessageContext, java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isProxyEnabled</h4>
<pre>public static&nbsp;boolean&nbsp;isProxyEnabled(<a href="../../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;targetURL)</pre>
<div class="block">Check whether http proxy is configured or active.
This is not a deep check.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageContext</code> - in message context</dd><dd><code>targetURL</code> - URL of the edpoint which we are sending the request</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if proxy is enabled, false otherwise</dd></dl>
</li>
</ul>
<a name="isHostInNonProxyList(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isHostInNonProxyList</h4>
<pre>public static&nbsp;boolean&nbsp;isHostInNonProxyList(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host,
<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nonProxyHosts)</pre>
<div class="block">Check if the specified host is in the list of non proxy hosts.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>host</code> - host name</dd><dd><code>nonProxyHosts</code> - string containing the list of non proxy hosts</dd>
<dt><span class="strong">Returns:</span></dt><dd>true/false</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/HTTPProxyConfigurationUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/axis2/transport/http/util/ComplexPart.html" title="class in org.apache.axis2.transport.http.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../../org/apache/axis2/transport/http/util/QueryStringParser.html" title="class in org.apache.axis2.transport.http.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/axis2/transport/http/util/HTTPProxyConfigurationUtil.html" target="_top">Frames</a></li>
<li><a href="HTTPProxyConfigurationUtil.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>