blob: 444f813166adde77bd7300d60f08d0185b41a240 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Utils (Apache Axis2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Utils (Apache Axis2)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Utils.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" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.axis2.util</a></div>
<h2 title="Class Utils" class="title">Class Utils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.util.Utils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">Utils</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Utils</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addHandler(org.apache.axis2.description.Flow,org.apache.axis2.engine.Handler,java.lang.String)">addHandler</a></span>&#8203;(<a href="../description/Flow.html" title="class in org.apache.axis2.description">Flow</a>&nbsp;flow,
<a href="../engine/Handler.html" title="interface in org.apache.axis2.engine">Handler</a>&nbsp;handler,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;phaseName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#calculateDefaultModuleVersion(java.util.HashMap,org.apache.axis2.engine.AxisConfiguration)">calculateDefaultModuleVersion</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&nbsp;modules,
<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfig)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkVersion(org.apache.axis2.description.Version,org.apache.axis2.description.Version)">checkVersion</a></span>&#8203;(<a href="../description/Version.html" title="class in org.apache.axis2.description">Version</a>&nbsp;module1version,
<a href="../description/Version.html" title="class in org.apache.axis2.description">Version</a>&nbsp;module2version)</code></th>
<td class="colLast">
<div class="block">- if he trying to engage the same module then method will returen false
- else it will return true</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createServiceObject(org.apache.axis2.description.AxisService)">createServiceObject</a></span>&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code></th>
<td class="colLast">
<div class="block">Create a service object for a given service.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSimpleInOnlyService(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,javax.xml.namespace.QName)">createSimpleInOnlyService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSimpleService(javax.xml.namespace.QName,java.lang.String,javax.xml.namespace.QName)">createSimpleService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSimpleService(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,java.lang.String,javax.xml.namespace.QName)">createSimpleService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSimpleServiceforClient(javax.xml.namespace.QName,java.lang.String,javax.xml.namespace.QName)">createSimpleServiceforClient</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSimpleServiceforClient(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,java.lang.String,javax.xml.namespace.QName)">createSimpleServiceforClient</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="../context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fillContextInformation(org.apache.axis2.description.AxisService,org.apache.axis2.context.ConfigurationContext)">fillContextInformation</a></span>&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;axisService,
<a href="../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configurationContext)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAxisSpecifMEPConstant(java.lang.String)">getAxisSpecifMEPConstant</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;messageExchangePattern)</code></th>
<td class="colLast">
<div class="block">Maps the String URI of the Message exchange pattern to a integer.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHostname(org.apache.axis2.engine.AxisConfiguration)">getHostname</a></span>&#8203;(<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfiguration)</code></th>
<td class="colLast">
<div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) ,
if it is there then this will return that as the host name , o.w will return the IP address.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInboundFaultFromMessageContext(org.apache.axis2.context.MessageContext)">getInboundFaultFromMessageContext</a></span>&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</code></th>
<td class="colLast">
<div class="block">Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached
to the provided MessageContext.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIpAddress()">getIpAddress</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the ip address to be used for the replyto epr
CAUTION:
This will go through all the available network interfaces and will try to return an ip address.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIpAddress(org.apache.axis2.engine.AxisConfiguration)">getIpAddress</a></span>&#8203;(<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfiguration)</code></th>
<td class="colLast">
<div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) ,
if it is there then this will retun that as the host name , o.w will return the IP address.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModuleName(java.lang.String,java.lang.String)">getModuleName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleVersion)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMtomThreshold(org.apache.axis2.context.MessageContext)">getMtomThreshold</a></span>&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;msgCtxt)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNewConfigurationContext(java.lang.String)">getNewConfigurationContext</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;repositry)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassLoader</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getObjectClassLoader(java.lang.Object)">getObjectClassLoader</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;object)</code></th>
<td class="colLast">
<div class="block">This method will provide the logic needed to retrieve an Object's classloader
in a Java 2 Security compliant manner.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOperationName(java.lang.String,java.lang.String)">getOperationName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName)</code></th>
<td class="colLast">
<div class="block">Compute the operation path from request URI using the servince name.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getParameterValue(org.apache.axis2.description.Parameter)">getParameterValue</a></span>&#8203;(<a href="../description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServiceAndOperationPart(java.lang.String,java.lang.String)">getServiceAndOperationPart</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;servicePath)</code></th>
<td class="colLast">
<div class="block">Gives the service/operation part from the incoming EPR
Ex: ..services/foo/bar/Version/getVersion -> foo/bar/Version/getVersion</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServiceClass(org.apache.axis2.description.AxisService)">getServiceClass</a></span>&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code></th>
<td class="colLast">
<div class="block">Get the service class for a given service.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getURIScheme(java.lang.String)">getURIScheme</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;uri)</code></th>
<td class="colLast">
<div class="block">Get the scheme part from a URI (or URL).</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClientThreadNonBlockingPropertySet(org.apache.axis2.context.MessageContext)">isClientThreadNonBlockingPropertySet</a></span>&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</code></th>
<td class="colLast">
<div class="block">this is to make is backward compatible.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isHiddenService(org.apache.axis2.description.AxisService)">isHiddenService</a></span>&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;axisService)</code></th>
<td class="colLast">
<div class="block">This method is used to find whether an axis2service is declared as hidden using the
"hiddenService" param</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidModuleName(java.lang.String)">isValidModuleName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parseRequestURLForServiceAndOperation(java.lang.String,java.lang.String)">parseRequestURLForServiceAndOperation</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;servicePath)</code></th>
<td class="colLast">
<div class="block">Break a full path into pieces</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sanitizeWebOutput(java.lang.String)">sanitizeWebOutput</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;text)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Utils</h4>
<pre>public&nbsp;Utils()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="addHandler(org.apache.axis2.description.Flow,org.apache.axis2.engine.Handler,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addHandler</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;addHandler&#8203;(<a href="../description/Flow.html" title="class in org.apache.axis2.description">Flow</a>&nbsp;flow,
<a href="../engine/Handler.html" title="interface in org.apache.axis2.engine">Handler</a>&nbsp;handler,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;phaseName)</pre>
</li>
</ul>
<a id="createSimpleService(javax.xml.namespace.QName,java.lang.String,javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSimpleService</h4>
<pre class="methodSignature">public static&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;createSimpleService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="createSimpleServiceforClient(javax.xml.namespace.QName,java.lang.String,javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSimpleServiceforClient</h4>
<pre class="methodSignature">public static&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;createSimpleServiceforClient&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="createSimpleInOnlyService(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSimpleInOnlyService</h4>
<pre class="methodSignature">public static&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;createSimpleInOnlyService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="createSimpleService(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,java.lang.String,javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSimpleService</h4>
<pre class="methodSignature">public static&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;createSimpleService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="createSimpleServiceforClient(javax.xml.namespace.QName,org.apache.axis2.engine.MessageReceiver,java.lang.String,javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSimpleServiceforClient</h4>
<pre class="methodSignature">public static&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;createSimpleServiceforClient&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;serviceName,
<a href="../engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a>&nbsp;messageReceiver,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;opName)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="fillContextInformation(org.apache.axis2.description.AxisService,org.apache.axis2.context.ConfigurationContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillContextInformation</h4>
<pre class="methodSignature">public static&nbsp;<a href="../context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a>&nbsp;fillContextInformation&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;axisService,
<a href="../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configurationContext)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="parseRequestURLForServiceAndOperation(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseRequestURLForServiceAndOperation</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]&nbsp;parseRequestURLForServiceAndOperation&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;servicePath)</pre>
<div class="block">Break a full path into pieces</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array where element [0] always contains the service, and element 1, if not null, contains
the path after the first element. all ? parameters are discarded.</dd>
</dl>
</li>
</ul>
<a id="getServiceAndOperationPart(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceAndOperationPart</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getServiceAndOperationPart&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;servicePath)</pre>
<div class="block">Gives the service/operation part from the incoming EPR
Ex: ..services/foo/bar/Version/getVersion -> foo/bar/Version/getVersion</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - - incoming EPR</dd>
<dd><code>servicePath</code> - - Ex: 'services'</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- service/operation part</dd>
</dl>
</li>
</ul>
<a id="getOperationName(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperationName</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getOperationName&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName)</pre>
<div class="block">Compute the operation path from request URI using the servince name. Service name can be a
normal one or a hierarchical one.
Ex: ../services/Echo/echoString -> echoString
../services/foo/1.0.0/Echo/echoString -> echoString
../services/Echo/ -> null</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - - request URI</dd>
<dd><code>serviceName</code> - - service name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- operation name if any, else null</dd>
</dl>
</li>
</ul>
<a id="getNewConfigurationContext(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewConfigurationContext</h4>
<pre class="methodSignature">public static&nbsp;<a href="../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;getNewConfigurationContext&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;repositry)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd>
</dl>
</li>
</ul>
<a id="getParameterValue(org.apache.axis2.description.Parameter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameterValue</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getParameterValue&#8203;(<a href="../description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)</pre>
</li>
</ul>
<a id="getModuleName(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModuleName</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getModuleName&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleVersion)</pre>
</li>
</ul>
<a id="isValidModuleName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidModuleName</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidModuleName&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;moduleName)</pre>
</li>
</ul>
<a id="checkVersion(org.apache.axis2.description.Version,org.apache.axis2.description.Version)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkVersion</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;checkVersion&#8203;(<a href="../description/Version.html" title="class in org.apache.axis2.description">Version</a>&nbsp;module1version,
<a href="../description/Version.html" title="class in org.apache.axis2.description">Version</a>&nbsp;module2version)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">- if he trying to engage the same module then method will returen false
- else it will return true</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="calculateDefaultModuleVersion(java.util.HashMap,org.apache.axis2.engine.AxisConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calculateDefaultModuleVersion</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;calculateDefaultModuleVersion&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&nbsp;modules,
<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfig)</pre>
</li>
</ul>
<a id="getAxisSpecifMEPConstant(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAxisSpecifMEPConstant</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;getAxisSpecifMEPConstant&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;messageExchangePattern)</pre>
<div class="block">Maps the String URI of the Message exchange pattern to a integer.
Further, in the first lookup, it will cache the looked
up value so that the subsequent method calls are extremely efficient.</div>
</li>
</ul>
<a id="getInboundFaultFromMessageContext(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInboundFaultFromMessageContext</h4>
<pre class="methodSignature">public static&nbsp;<a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a>&nbsp;getInboundFaultFromMessageContext&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</pre>
<div class="block">Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached
to the provided MessageContext. This first check for an already extracted AxisFault
and otherwise does a simple extract.
<p/>
MUST NOT be passed a MessageContext which does not contain a SOAPFault</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>messageContext</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a id="getObjectClassLoader(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getObjectClassLoader</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassLoader</a>&nbsp;getObjectClassLoader&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;object)</pre>
<div class="block">This method will provide the logic needed to retrieve an Object's classloader
in a Java 2 Security compliant manner.</div>
</li>
</ul>
<a id="getMtomThreshold(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMtomThreshold</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;getMtomThreshold&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;msgCtxt)</pre>
</li>
</ul>
<a id="getIpAddress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIpAddress</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getIpAddress()
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketException</a></pre>
<div class="block">Returns the ip address to be used for the replyto epr
CAUTION:
This will go through all the available network interfaces and will try to return an ip address.
First this will try to get the first IP which is not loopback address (127.0.0.1). If none is found
then this will return this will return 127.0.0.1.
This will <b>not<b> consider IPv6 addresses.
<p/>
TODO:
- Improve this logic to genaralize it a bit more
- Obtain the ip to be used here from the Call API</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns String.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketException</a></code></dd>
</dl>
</li>
</ul>
<a id="getIpAddress(org.apache.axis2.engine.AxisConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIpAddress</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getIpAddress&#8203;(<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfiguration)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketException</a></pre>
<div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) ,
if it is there then this will retun that as the host name , o.w will return the IP address.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net" class="externalLink">SocketException</a></code></dd>
</dl>
</li>
</ul>
<a id="getHostname(org.apache.axis2.engine.AxisConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHostname</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getHostname&#8203;(<a href="../engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a>&nbsp;axisConfiguration)</pre>
<div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) ,
if it is there then this will return that as the host name , o.w will return the IP address.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>axisConfiguration</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>hostname</dd>
</dl>
</li>
</ul>
<a id="getURIScheme(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getURIScheme</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getURIScheme&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;uri)</pre>
<div class="block">Get the scheme part from a URI (or URL).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>uri</code> - the URI</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the scheme of the URI</dd>
</dl>
</li>
</ul>
<a id="sanitizeWebOutput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sanitizeWebOutput</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;sanitizeWebOutput&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;text)</pre>
</li>
</ul>
<a id="createServiceObject(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createServiceObject</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;createServiceObject&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Create a service object for a given service. The method first looks for
the <a href="../Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> service parameter and if
this parameter is present, it will use the specified class to create the
service object. If the parameter is not present, it will create an
instance of the class specified by the <a href="../Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a>
parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>service</code> - the service</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The service object or <code>null</code> if neither the
<a href="../Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> nor the
<a href="../Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> parameter was found on the
service, i.e. if the service doesn't specify how to create a
service object. If the return value is non null, it will always
be a newly created instance.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if an error occurred while attempting to instantiate the
service object</dd>
</dl>
</li>
</ul>
<a id="getServiceClass(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceClass</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;&nbsp;getServiceClass&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Get the service class for a given service. This method will first check
the <a href="../Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> service parameter and if that
parameter is not present, inspect the instance returned by the service
object supplier specified by <a href="../Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>service</code> - the service</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The service class or <code>null</code> if neither the
<a href="../Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> nor the
<a href="../Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> parameter was found on
the service, i.e. if the service doesn't specify a service class.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if an error occurred while attempting to load the service
class or to instantiate the service object</dd>
</dl>
</li>
</ul>
<a id="isClientThreadNonBlockingPropertySet(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClientThreadNonBlockingPropertySet</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isClientThreadNonBlockingPropertySet&#8203;(<a href="../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</pre>
<div class="block">this is to make is backward compatible. Get rid of this at the next major release.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>messageContext</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a id="isHiddenService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isHiddenService</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isHiddenService&#8203;(<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;axisService)</pre>
<div class="block">This method is used to find whether an axis2service is declared as hidden using the
"hiddenService" param</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>axisService</code> - - the service of interest</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if is declared as hidden, false if not</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Utils.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" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</footer>
</body>
</html>