| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>HttpFactory (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="HttpFactory (Apache Axis2)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/HttpFactory.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 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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"> </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> <a href="package-summary.html">org.apache.axis2.transport.http.server</a></div> |
| <h2 title="Class HttpFactory" class="title">Class HttpFactory</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.transport.http.server.HttpFactory</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">HttpFactory</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> |
| <div class="block">Factory used to configure and create the various instances required in http transports. |
| Either configure this class in axis2.xml, or in code via the setters, or subclass it and specialize some factory methods to gain more control.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr 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="#PARAMETER_HOST_ADDRESS">PARAMETER_HOST_ADDRESS</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml hostname parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_ORIGIN_SERVER">PARAMETER_ORIGIN_SERVER</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml originServer parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_PORT">PARAMETER_PORT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml port parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE">PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml requestCoreThreadPoolSize parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE">PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml requestMaxThreadPoolSize parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_REQUEST_SOCKET_TIMEOUT">PARAMETER_REQUEST_SOCKET_TIMEOUT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml requestTimeout parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_REQUEST_TCP_NO_DELAY">PARAMETER_REQUEST_TCP_NO_DELAY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml requestTcpNoDelay parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_THREAD_KEEP_ALIVE_TIME">PARAMETER_THREAD_KEEP_ALIVE_TIME</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml threadKeepAliveTime parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| <tr 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="#PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT">PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Name of axis2.xml threadKeepAliveTimeUnit parameter for SimpleHTTPServer configuration</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== 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"> </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(org.apache.axis2.context.ConfigurationContext)">HttpFactory</a></span>​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext)</code></th> |
| <td class="colLast"> |
| <div class="block">Create and configure a new HttpFactory</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.axis2.context.ConfigurationContext,int)">HttpFactory</a></span>​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext, |
| int port)</code></th> |
| <td class="colLast"> |
| <div class="block">Create and configure a new HttpFactory</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.axis2.context.ConfigurationContext,int,org.apache.axis2.transport.http.server.WorkerFactory)">HttpFactory</a></span>​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext, |
| int port, |
| <a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a> requestWorkerFactory)</code></th> |
| <td class="colLast"> |
| <div class="block">Create and configure a new HttpFactory</div> |
| </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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><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="#getConfigurationContext()">getConfigurationContext</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for configurationContext</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><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="#getHostAddress()">getHostAddress</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for hostAddress</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHttpConfiguration()">getHttpConfiguration</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for httpConfiguration</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../engine/ListenerManager.html" title="class in org.apache.axis2.engine">ListenerManager</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getListenerManager()">getListenerManager</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the configured listener manager or create and configure one with configurationContext</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><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="#getOriginServer()">getOriginServer</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for originServer</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPort()">getPort</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for port |
| return the port on which to listen for http connections (default = 6060)</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestCoreThreadPoolSize()">getRequestCoreThreadPoolSize</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for RequestCoreThreadPoolSize</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestMaxThreadPoolSize()">getRequestMaxThreadPoolSize</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for requestMaxThreadPoolSize</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestSocketTimeout()">getRequestSocketTimeout</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for requestSocketTimeout</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRequestTcpNoDelay()">getRequestTcpNoDelay</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for requestTcpNoDelay |
| return false iff Nagle's algorithm should be used to conserve bandwidth by minimizing segments |
| at the cost of latency and performance (default true, i.e. maximize performance at |
| the cost of bandwidth)</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getThreadKeepAliveTime()">getThreadKeepAliveTime</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for threadKeepAliveTime</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getThreadKeepAliveTimeUnit()">getThreadKeepAliveTimeUnit</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Getter for threadKeepAliveTimeUnit |
| return the time unit for threadKeepAliveTime (default SECONDS)</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>org.apache.http.ConnectionReuseStrategy</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newConnStrategy()">newConnStrategy</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>org.apache.http.protocol.HttpProcessor</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newHttpProcessor()">newHttpProcessor</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newListenerExecutor(int)">newListenerExecutor</a></span>​(int port)</code></th> |
| <td class="colLast"> |
| <div class="block">Create the executor used to launch the single requestConnectionListener</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">BlockingQueue</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestBlockingQueue()">newRequestBlockingQueue</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create the queue used to hold incoming requests when requestCoreThreadPoolSize threads are busy.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="IOProcessor.html" title="interface in org.apache.axis2.transport.http.server">IOProcessor</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestConnectionListener(int,org.apache.axis2.transport.http.server.HttpConnectionManager,org.apache.http.params.HttpParams)">newRequestConnectionListener</a></span>​(int port, |
| <a href="HttpConnectionManager.html" title="interface in org.apache.axis2.transport.http.server">HttpConnectionManager</a> manager, |
| org.apache.http.params.HttpParams params)</code></th> |
| <td class="colLast"> |
| <div class="block">Create the listener for request connections</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="HttpConnectionManager.html" title="interface in org.apache.axis2.transport.http.server">HttpConnectionManager</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestConnectionManager(java.util.concurrent.ExecutorService,org.apache.axis2.transport.http.server.WorkerFactory,org.apache.http.params.HttpParams)">newRequestConnectionManager</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> requestExecutor, |
| <a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a> workerFactory, |
| org.apache.http.params.HttpParams params)</code></th> |
| <td class="colLast"> |
| <div class="block">Create the connection manager used to launch request threads</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>org.apache.http.params.HttpParams</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestConnectionParams()">newRequestConnectionParams</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create and set the parameters applied to incoming request connections</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestExecutor(int)">newRequestExecutor</a></span>​(int port)</code></th> |
| <td class="colLast"> |
| <div class="block">Create the executor use the manage request processing threads</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newRequestWorkerFactory()">newRequestWorkerFactory</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Create the factory for request workers</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>org.apache.http.HttpResponseFactory</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newResponseFactory()">newResponseFactory</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHostAddress(java.lang.String)">setHostAddress</a></span>​(<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> hostAddress)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for hostAddress</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOriginServer(java.lang.String)">setOriginServer</a></span>​(<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> originServer)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for originServer</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPort(int)">setPort</a></span>​(int port)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for port</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRequestCoreThreadPoolSize(int)">setRequestCoreThreadPoolSize</a></span>​(int requestCoreThreadPoolSize)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for RequestCoreThreadPoolSize</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRequestMaxThreadPoolSize(int)">setRequestMaxThreadPoolSize</a></span>​(int requestMaxThreadPoolSize)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for requestMaxThreadPoolSize</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRequestSocketTimeout(int)">setRequestSocketTimeout</a></span>​(int requestSocketTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for requestSocketTimeout</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRequestTcpNoDelay(boolean)">setRequestTcpNoDelay</a></span>​(boolean requestTcpNoDelay)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for requestTcpNoDelay</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setThreadKeepAliveTime(long)">setThreadKeepAliveTime</a></span>​(long threadKeepAliveTime)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for threadKeepAliveTime</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setThreadKeepAliveTimeUnit(java.util.concurrent.TimeUnit)">setThreadKeepAliveTimeUnit</a></span>​(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> threadKeepAliveTimeUnit)</code></th> |
| <td class="colLast"> |
| <div class="block">Setter for threadKeepAliveTimeUnit</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class 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"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="PARAMETER_PORT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_PORT</h4> |
| <pre>public static final <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> PARAMETER_PORT</pre> |
| <div class="block">Name of axis2.xml port parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_PORT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_HOST_ADDRESS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_HOST_ADDRESS</h4> |
| <pre>public static final <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> PARAMETER_HOST_ADDRESS</pre> |
| <div class="block">Name of axis2.xml hostname parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_HOST_ADDRESS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_ORIGIN_SERVER"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_ORIGIN_SERVER</h4> |
| <pre>public static final <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> PARAMETER_ORIGIN_SERVER</pre> |
| <div class="block">Name of axis2.xml originServer parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_ORIGIN_SERVER">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_REQUEST_SOCKET_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_REQUEST_SOCKET_TIMEOUT</h4> |
| <pre>public static final <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> PARAMETER_REQUEST_SOCKET_TIMEOUT</pre> |
| <div class="block">Name of axis2.xml requestTimeout parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_REQUEST_SOCKET_TIMEOUT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_REQUEST_TCP_NO_DELAY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_REQUEST_TCP_NO_DELAY</h4> |
| <pre>public static final <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> PARAMETER_REQUEST_TCP_NO_DELAY</pre> |
| <div class="block">Name of axis2.xml requestTcpNoDelay parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_REQUEST_TCP_NO_DELAY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE</h4> |
| <pre>public static final <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> PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE</pre> |
| <div class="block">Name of axis2.xml requestCoreThreadPoolSize parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_REQUEST_CORE_THREAD_POOL_SIZE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE</h4> |
| <pre>public static final <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> PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE</pre> |
| <div class="block">Name of axis2.xml requestMaxThreadPoolSize parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_REQUEST_MAX_THREAD_POOL_SIZE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_THREAD_KEEP_ALIVE_TIME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PARAMETER_THREAD_KEEP_ALIVE_TIME</h4> |
| <pre>public static final <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> PARAMETER_THREAD_KEEP_ALIVE_TIME</pre> |
| <div class="block">Name of axis2.xml threadKeepAliveTime parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_THREAD_KEEP_ALIVE_TIME">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT</h4> |
| <pre>public static final <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> PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT</pre> |
| <div class="block">Name of axis2.xml threadKeepAliveTimeUnit parameter for SimpleHTTPServer configuration</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.axis2.transport.http.server.HttpFactory.PARAMETER_THREAD_KEEP_ALIVE_TIME_UNIT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.apache.axis2.context.ConfigurationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpFactory</h4> |
| <pre>public HttpFactory​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext) |
| throws <a href="../../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create and configure a new HttpFactory</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="<init>(org.apache.axis2.context.ConfigurationContext,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HttpFactory</h4> |
| <pre>public HttpFactory​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext, |
| int port) |
| throws <a href="../../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create and configure a new HttpFactory</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="<init>(org.apache.axis2.context.ConfigurationContext,int,org.apache.axis2.transport.http.server.WorkerFactory)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HttpFactory</h4> |
| <pre>public HttpFactory​(<a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext, |
| int port, |
| <a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a> requestWorkerFactory) |
| throws <a href="../../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create and configure a new HttpFactory</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> |
| </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="getListenerManager()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getListenerManager</h4> |
| <pre class="methodSignature">public <a href="../../../engine/ListenerManager.html" title="class in org.apache.axis2.engine">ListenerManager</a> getListenerManager()</pre> |
| <div class="block">Return the configured listener manager or create and configure one with configurationContext</div> |
| </li> |
| </ul> |
| <a id="newListenerExecutor(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newListenerExecutor</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> newListenerExecutor​(int port)</pre> |
| <div class="block">Create the executor used to launch the single requestConnectionListener</div> |
| </li> |
| </ul> |
| <a id="newRequestConnectionListener(int,org.apache.axis2.transport.http.server.HttpConnectionManager,org.apache.http.params.HttpParams)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestConnectionListener</h4> |
| <pre class="methodSignature">public <a href="IOProcessor.html" title="interface in org.apache.axis2.transport.http.server">IOProcessor</a> newRequestConnectionListener​(int port, |
| <a href="HttpConnectionManager.html" title="interface in org.apache.axis2.transport.http.server">HttpConnectionManager</a> manager, |
| org.apache.http.params.HttpParams params) |
| throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre> |
| <div class="block">Create the listener for request connections</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="newRequestConnectionParams()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestConnectionParams</h4> |
| <pre class="methodSignature">public org.apache.http.params.HttpParams newRequestConnectionParams()</pre> |
| <div class="block">Create and set the parameters applied to incoming request connections</div> |
| </li> |
| </ul> |
| <a id="newRequestConnectionManager(java.util.concurrent.ExecutorService,org.apache.axis2.transport.http.server.WorkerFactory,org.apache.http.params.HttpParams)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestConnectionManager</h4> |
| <pre class="methodSignature">public <a href="HttpConnectionManager.html" title="interface in org.apache.axis2.transport.http.server">HttpConnectionManager</a> newRequestConnectionManager​(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> requestExecutor, |
| <a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a> workerFactory, |
| org.apache.http.params.HttpParams params)</pre> |
| <div class="block">Create the connection manager used to launch request threads</div> |
| </li> |
| </ul> |
| <a id="newRequestExecutor(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestExecutor</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> newRequestExecutor​(int port)</pre> |
| <div class="block">Create the executor use the manage request processing threads</div> |
| </li> |
| </ul> |
| <a id="newRequestBlockingQueue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestBlockingQueue</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/BlockingQueue.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">BlockingQueue</a> newRequestBlockingQueue()</pre> |
| <div class="block">Create the queue used to hold incoming requests when requestCoreThreadPoolSize threads are busy. |
| Default is an unbounded queue.</div> |
| </li> |
| </ul> |
| <a id="newRequestWorkerFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newRequestWorkerFactory</h4> |
| <pre class="methodSignature">public <a href="WorkerFactory.html" title="interface in org.apache.axis2.transport.http.server">WorkerFactory</a> newRequestWorkerFactory()</pre> |
| <div class="block">Create the factory for request workers</div> |
| </li> |
| </ul> |
| <a id="newHttpProcessor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newHttpProcessor</h4> |
| <pre class="methodSignature">public org.apache.http.protocol.HttpProcessor newHttpProcessor()</pre> |
| </li> |
| </ul> |
| <a id="newConnStrategy()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newConnStrategy</h4> |
| <pre class="methodSignature">public org.apache.http.ConnectionReuseStrategy newConnStrategy()</pre> |
| </li> |
| </ul> |
| <a id="newResponseFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newResponseFactory</h4> |
| <pre class="methodSignature">public org.apache.http.HttpResponseFactory newResponseFactory()</pre> |
| </li> |
| </ul> |
| <a id="getConfigurationContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConfigurationContext</h4> |
| <pre class="methodSignature">public <a href="../../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> getConfigurationContext()</pre> |
| <div class="block">Getter for configurationContext</div> |
| </li> |
| </ul> |
| <a id="getHttpConfiguration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHttpConfiguration</h4> |
| <pre class="methodSignature">public <a href="../../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a> getHttpConfiguration()</pre> |
| <div class="block">Getter for httpConfiguration</div> |
| </li> |
| </ul> |
| <a id="getPort()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPort</h4> |
| <pre class="methodSignature">public int getPort()</pre> |
| <div class="block">Getter for port |
| return the port on which to listen for http connections (default = 6060)</div> |
| </li> |
| </ul> |
| <a id="setPort(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPort</h4> |
| <pre class="methodSignature">public void setPort​(int port)</pre> |
| <div class="block">Setter for port</div> |
| </li> |
| </ul> |
| <a id="getHostAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHostAddress</h4> |
| <pre class="methodSignature">public <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> getHostAddress()</pre> |
| <div class="block">Getter for hostAddress</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the host address (or name) to be use in reply-to endpoint references, or null if not specified (default = null)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setHostAddress(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHostAddress</h4> |
| <pre class="methodSignature">public void setHostAddress​(<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> hostAddress)</pre> |
| <div class="block">Setter for hostAddress</div> |
| </li> |
| </ul> |
| <a id="getOriginServer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOriginServer</h4> |
| <pre class="methodSignature">public <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> getOriginServer()</pre> |
| <div class="block">Getter for originServer</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Server header string for outgoing messages (default "Simple-Server/1.1")</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setOriginServer(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setOriginServer</h4> |
| <pre class="methodSignature">public void setOriginServer​(<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> originServer)</pre> |
| <div class="block">Setter for originServer</div> |
| </li> |
| </ul> |
| <a id="getRequestSocketTimeout()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestSocketTimeout</h4> |
| <pre class="methodSignature">public int getRequestSocketTimeout()</pre> |
| <div class="block">Getter for requestSocketTimeout</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum time in millis to wait for data on a request socket (default 20000)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRequestSocketTimeout(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestSocketTimeout</h4> |
| <pre class="methodSignature">public void setRequestSocketTimeout​(int requestSocketTimeout)</pre> |
| <div class="block">Setter for requestSocketTimeout</div> |
| </li> |
| </ul> |
| <a id="getRequestTcpNoDelay()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestTcpNoDelay</h4> |
| <pre class="methodSignature">public boolean getRequestTcpNoDelay()</pre> |
| <div class="block">Getter for requestTcpNoDelay |
| return false iff Nagle's algorithm should be used to conserve bandwidth by minimizing segments |
| at the cost of latency and performance (default true, i.e. maximize performance at |
| the cost of bandwidth)</div> |
| </li> |
| </ul> |
| <a id="setRequestTcpNoDelay(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestTcpNoDelay</h4> |
| <pre class="methodSignature">public void setRequestTcpNoDelay​(boolean requestTcpNoDelay)</pre> |
| <div class="block">Setter for requestTcpNoDelay</div> |
| </li> |
| </ul> |
| <a id="getRequestCoreThreadPoolSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestCoreThreadPoolSize</h4> |
| <pre class="methodSignature">public int getRequestCoreThreadPoolSize()</pre> |
| <div class="block">Getter for RequestCoreThreadPoolSize</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the size of the thread pool use to process requests assuming there is adequate queue space (default 25)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRequestCoreThreadPoolSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestCoreThreadPoolSize</h4> |
| <pre class="methodSignature">public void setRequestCoreThreadPoolSize​(int requestCoreThreadPoolSize)</pre> |
| <div class="block">Setter for RequestCoreThreadPoolSize</div> |
| </li> |
| </ul> |
| <a id="getRequestMaxThreadPoolSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRequestMaxThreadPoolSize</h4> |
| <pre class="methodSignature">public int getRequestMaxThreadPoolSize()</pre> |
| <div class="block">Getter for requestMaxThreadPoolSize</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum size of the thread pool used to process requests if the queue fills up (default 150). |
| Since the default queue is unbounded this parameter is meaningless unless you override newRequestBlockingQueue()</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setRequestMaxThreadPoolSize(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRequestMaxThreadPoolSize</h4> |
| <pre class="methodSignature">public void setRequestMaxThreadPoolSize​(int requestMaxThreadPoolSize)</pre> |
| <div class="block">Setter for requestMaxThreadPoolSize</div> |
| </li> |
| </ul> |
| <a id="getThreadKeepAliveTime()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThreadKeepAliveTime</h4> |
| <pre class="methodSignature">public long getThreadKeepAliveTime()</pre> |
| <div class="block">Getter for threadKeepAliveTime</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>how long a request processing thread in excess of the core pool size will be kept alive it if is inactive |
| (default with threadKeepAliveTimeUnit to 180 seconds)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setThreadKeepAliveTime(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThreadKeepAliveTime</h4> |
| <pre class="methodSignature">public void setThreadKeepAliveTime​(long threadKeepAliveTime)</pre> |
| <div class="block">Setter for threadKeepAliveTime</div> |
| </li> |
| </ul> |
| <a id="getThreadKeepAliveTimeUnit()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThreadKeepAliveTimeUnit</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> getThreadKeepAliveTimeUnit()</pre> |
| <div class="block">Getter for threadKeepAliveTimeUnit |
| return the time unit for threadKeepAliveTime (default SECONDS)</div> |
| </li> |
| </ul> |
| <a id="setThreadKeepAliveTimeUnit(java.util.concurrent.TimeUnit)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setThreadKeepAliveTimeUnit</h4> |
| <pre class="methodSignature">public void setThreadKeepAliveTimeUnit​(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> threadKeepAliveTimeUnit)</pre> |
| <div class="block">Setter for threadKeepAliveTimeUnit</div> |
| </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/HttpFactory.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 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </footer> |
| </body> |
| </html> |