blob: 97706d88ab895848d35e16d55c1d418028adbf0b [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.9) on Fri Nov 20 15:16:02 CST 2020 -->
<title>AbstractConnector (Jetty :: Project 9.4.35.v20201120 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-11-20">
<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.5.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="AbstractConnector (Jetty :: Project 9.4.35.v20201120 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"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,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = false;
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/AbstractConnector.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a 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.eclipse.jetty.server</a></div>
<h2 title="Class AbstractConnector" class="title">Class AbstractConnector</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a></li>
<li>
<ul class="inheritance">
<li><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.server.AbstractConnector</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code>, <code><a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../util/component/Graceful.html" title="interface in org.eclipse.jetty.util.component">Graceful</a></code>, <code><a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="AbstractNetworkConnector.html" title="class in org.eclipse.jetty.server">AbstractNetworkConnector</a></code>, <code><a href="LocalConnector.html" title="class in org.eclipse.jetty.server">LocalConnector</a></code>, <code><a href="../unixsocket/UnixSocketConnector.html" title="class in org.eclipse.jetty.unixsocket">UnixSocketConnector</a></code></dd>
</dl>
<hr>
<pre><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a>("Abstract implementation of the Connector Interface")
public abstract class <span class="typeNameLabel">AbstractConnector</span>
extends <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a>
implements <a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a>, <a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></pre>
<div class="block"><p>An abstract implementation of <a href="Connector.html" title="interface in org.eclipse.jetty.server"><code>Connector</code></a> that provides a <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> mechanism
for creating <a href="../io/Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> instances for various protocols (HTTP, SSL, etc).</p>
<h2>Connector Services</h2>
The abstract connector manages the dependent services needed by all specific connector instances:
<ul>
<li>The <code>Executor</code> service is used to run all active tasks needed by this connector such as accepting connections
or handle HTTP requests. The default is to use the <a href="Server.html#getThreadPool()"><code>Server.getThreadPool()</code></a> as an executor.
</li>
<li>The <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> service is used to monitor the idle timeouts of all connections and is also made available
to the connections to time such things as asynchronous request timeouts. The default is to use a new
<a href="../util/thread/ScheduledExecutorScheduler.html" title="class in org.eclipse.jetty.util.thread"><code>ScheduledExecutorScheduler</code></a> instance.
</li>
<li>The <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io"><code>ByteBufferPool</code></a> service is made available to all connections to be used to acquire and release
<code>ByteBuffer</code> instances from a pool. The default is to use a new <a href="../io/ArrayByteBufferPool.html" title="class in org.eclipse.jetty.io"><code>ArrayByteBufferPool</code></a> instance.
</li>
</ul>
These services are managed as aggregate beans by the <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component"><code>ContainerLifeCycle</code></a> super class and
may either be managed or unmanaged beans.
<h2>Connection Factories</h2>
The connector keeps a collection of <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> instances, each of which are known by their
protocol name. The protocol name may be a real protocol (e.g. "http/1.1" or "h2") or it may be a private name
that represents a special connection factory. For example, the name "SSL-http/1.1" is used for
an <a href="SslConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>SslConnectionFactory</code></a> that has been instantiated with the <a href="HttpConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>HttpConnectionFactory</code></a> as it's
next protocol.
<h2>Configuring Connection Factories</h2>
The collection of available <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> may be constructor injected or modified with the
methods <a href="#addConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)"><code>addConnectionFactory(ConnectionFactory)</code></a>, <a href="#removeConnectionFactory(java.lang.String)"><code>removeConnectionFactory(String)</code></a> and
<a href="#setConnectionFactories(java.util.Collection)"><code>setConnectionFactories(Collection)</code></a>. Only a single <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> instance may be configured
per protocol name, so if two factories with the same <a href="ConnectionFactory.html#getProtocol()"><code>ConnectionFactory.getProtocol()</code></a> are set, then
the second will replace the first.
<p>
The protocol factory used for newly accepted connections is specified by
the method <a href="#setDefaultProtocol(java.lang.String)"><code>setDefaultProtocol(String)</code></a> or defaults to the protocol of the first configured factory.
<p>
Each Connection factory type is responsible for the configuration of the protocols that it accepts. Thus to
configure the HTTP protocol, you pass a <a href="HttpConfiguration.html" title="class in org.eclipse.jetty.server"><code>HttpConfiguration</code></a> instance to the <a href="HttpConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>HttpConnectionFactory</code></a>
(or other factories that can also provide HTTP Semantics). Similarly the <a href="SslConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>SslConnectionFactory</code></a> is
configured by passing it a <a href="../util/ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl"><code>SslContextFactory</code></a> and a next protocol name.
<h2>Connection Factory Operation</h2>
<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a>s may simply create a <a href="../io/Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> instance to support a specific
protocol. For example, the <a href="HttpConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>HttpConnectionFactory</code></a> will create a <a href="HttpConnection.html" title="class in org.eclipse.jetty.server"><code>HttpConnection</code></a> instance
that can handle http/1.1, http/1.0 and http/0.9.
<p>
<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a>s may also create a chain of <a href="../io/Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> instances, using other <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> instances.
For example, the <a href="SslConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>SslConnectionFactory</code></a> is configured with a next protocol name, so that once it has accepted
a connection and created an <a href="../io/ssl/SslConnection.html" title="class in org.eclipse.jetty.io.ssl"><code>SslConnection</code></a>, it then used the next <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> from the
connector using the <a href="#getConnectionFactory(java.lang.String)"><code>getConnectionFactory(String)</code></a> method, to create a <a href="../io/Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> instance that
will handle the unencrypted bytes from the <a href="../io/ssl/SslConnection.html" title="class in org.eclipse.jetty.io.ssl"><code>SslConnection</code></a>. If the next protocol is "http/1.1", then the
<a href="SslConnectionFactory.html" title="class in org.eclipse.jetty.server"><code>SslConnectionFactory</code></a> will have a protocol name of "SSL-http/1.1" and lookup "http/1.1" for the protocol
to run over the SSL connection.
<p>
<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a>s may also create temporary <a href="../io/Connection.html" title="interface in org.eclipse.jetty.io"><code>Connection</code></a> instances that will exchange bytes
over the connection to determine what is the next protocol to use. For example the ALPN protocol is an extension
of SSL to allow a protocol to be specified during the SSL handshake. ALPN is used by the HTTP/2 protocol to
negotiate the protocol that the client and server will speak. Thus to accept an HTTP/2 connection, the
connector will be configured with <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a>s for "SSL-ALPN", "h2", "http/1.1"
with the default protocol being "SSL-ALPN". Thus a newly accepted connection uses "SSL-ALPN", which specifies a
SSLConnectionFactory with "ALPN" as the next protocol. Thus an SSL connection instance is created chained to an ALPN
connection instance. The ALPN connection then negotiates with the client to determined the next protocol, which
could be "h2" or the default of "http/1.1". Once the next protocol is determined, the ALPN connection
calls <a href="#getConnectionFactory(java.lang.String)"><code>getConnectionFactory(String)</code></a> to create a connection instance that will replace the ALPN connection as
the connection chained to the SSL connection.
<h2>Acceptors</h2>
The connector will execute a number of acceptor tasks to the <code>Exception</code> service passed to the constructor.
The acceptor tasks run in a loop while the connector is running and repeatedly call the abstract <a href="#accept(int)"><code>accept(int)</code></a> method.
The implementation of the accept method must:
<ol>
<li>block waiting for new connections</li>
<li>accept the connection (eg socket accept)</li>
<li>perform any configuration of the connection (eg. socket configuration)</li>
<li>call the <a href="#getDefaultConnectionFactory()"><code>getDefaultConnectionFactory()</code></a> <a href="ConnectionFactory.html#newConnection(org.eclipse.jetty.server.Connector,org.eclipse.jetty.io.EndPoint)"><code>ConnectionFactory.newConnection(Connector, org.eclipse.jetty.io.EndPoint)</code></a>
method to create a new Connection instance.</li>
</ol>
The default number of acceptor tasks is the minimum of 1 and the number of available CPUs divided by 8. Having more acceptors may reduce
the latency for servers that see a high rate of new connections (eg HTTP/1.0 without keep-alive). Typically the default is
sufficient for modern persistent protocols (HTTP/1.1, HTTP/2 etc.)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3>
<code><a href="../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.Graceful">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Graceful.html" title="interface in org.eclipse.jetty.util.component">Graceful</a></h3>
<code><a href="../util/component/Graceful.Shutdown.html" title="class in org.eclipse.jetty.util.component">Graceful.Shutdown</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== 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">&nbsp;</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>protected static <a href="../util/log/Logger.html" title="interface in org.eclipse.jetty.util.log">Logger</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOG">LOG</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../util/component/AbstractLifeCycle.html#RUNNING">RUNNING</a>, <a href="../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></li>
</ul>
</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">&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(org.eclipse.jetty.server.Server,java.util.concurrent.Executor,org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.io.ByteBufferPool,int,org.eclipse.jetty.server.ConnectionFactory...)">AbstractConnector</a></span>&#8203;(<a href="Server.html" title="class in org.eclipse.jetty.server">Server</a>&nbsp;server,
java.util.concurrent.Executor&nbsp;executor,
<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;pool,
int&nbsp;acceptors,
<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>...&nbsp;factories)</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#accept(int)">accept</a></span>&#8203;(int&nbsp;acceptorID)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">addConnectionFactory</a></span>&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addFirstConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">addFirstConnectionFactory</a></span>&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addIfAbsentConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">addIfAbsentConnectionFactory</a></span>&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearConnectionFactories()">clearConnectionFactories</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStart()">doStart</a></span>()</code></th>
<td class="colLast">
<div class="block">Starts the managed lifecycle beans in the order they were added.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStop()">doStop</a></span>()</code></th>
<td class="colLast">
<div class="block">Stops the managed lifecycle beans in the reverse order they were added.</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="#getAcceptorPriorityDelta()">getAcceptorPriorityDelta</a></span>()</code></th>
<td class="colLast">&nbsp;</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="#getAcceptors()">getAcceptors</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByteBufferPool()">getByteBufferPool</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectedEndPoints()">getConnectedEndPoints</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionFactories()">getConnectionFactories</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionFactory(java.lang.Class)">getConnectionFactory</a></span>&#8203;(java.lang.Class&lt;T&gt;&nbsp;factoryType)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConnectionFactory(java.lang.String)">getConnectionFactory</a></span>&#8203;(java.lang.String&nbsp;protocol)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultConnectionFactory()">getDefaultConnectionFactory</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultProtocol()">getDefaultProtocol</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.util.concurrent.Executor</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExecutor()">getExecutor</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server">HttpChannel.Listener</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHttpChannelListeners()">getHttpChannelListeners</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the <a href="HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server"><code>HttpChannel.Listener</code></a>s added to the connector
as a single combined Listener.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIdleTimeout()">getIdleTimeout</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the connector name if set.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProtocols()">getProtocols</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScheduler()">getScheduler</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="Server.html" title="class in org.eclipse.jetty.server">Server</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServer()">getServer</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleAcceptFailure(java.lang.Throwable)">handleAcceptFailure</a></span>&#8203;(java.lang.Throwable&nbsp;ex)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#interruptAcceptors()">interruptAcceptors</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAccepting()">isAccepting</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isShutdown()">isShutdown</a></span>()</code></th>
<td class="colLast">&nbsp;</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="#join()">join</a></span>()</code></th>
<td class="colLast">&nbsp;</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="#join(long)">join</a></span>&#8203;(long&nbsp;timeout)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onEndPointClosed(org.eclipse.jetty.io.EndPoint)">onEndPointClosed</a></span>&#8203;(<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endp)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onEndPointOpened(org.eclipse.jetty.io.EndPoint)">onEndPointOpened</a></span>&#8203;(<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endp)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeConnectionFactory(java.lang.String)">removeConnectionFactory</a></span>&#8203;(java.lang.String&nbsp;protocol)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAccepting(boolean)">setAccepting</a></span>&#8203;(boolean&nbsp;accepting)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAcceptorPriorityDelta(int)">setAcceptorPriorityDelta</a></span>&#8203;(int&nbsp;acceptorPriorityDelta)</code></th>
<td class="colLast">
<div class="block">Set the acceptor thread priority delta.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConnectionFactories(java.util.Collection)">setConnectionFactories</a></span>&#8203;(java.util.Collection&lt;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&gt;&nbsp;factories)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultProtocol(java.lang.String)">setDefaultProtocol</a></span>&#8203;(java.lang.String&nbsp;defaultProtocol)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIdleTimeout(long)">setIdleTimeout</a></span>&#8203;(long&nbsp;idleTimeout)</code></th>
<td class="colLast">
<div class="block">Sets the maximum Idle time for a connection, which roughly translates to the <code>Socket.setSoTimeout(int)</code>
call, although with NIO implementations other mechanisms may be used to implement the timeout.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setName(java.lang.String)">setName</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Set a connector name.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>java.util.concurrent.Future&lt;java.lang.Void&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shutdown()">shutdown</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.ContainerLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3>
<code><a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addEventListener(org.eclipse.jetty.util.component.Container.Listener)">addEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../util/component/ContainerLifeCycle.html#destroy()">destroy</a>, <a href="../util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String,java.util.Collection...)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(org.eclipse.jetty.util.component.Dumpable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dumpBeans(java.lang.Appendable,java.lang.String,java.util.Collection...)">dumpBeans</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObject(java.lang.Appendable,java.lang.Object)">dumpObject</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObjects(java.lang.Appendable,java.lang.String,java.lang.Object...)">dumpObjects</a>, <a href="../util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../util/component/ContainerLifeCycle.html#dumpThis(java.lang.Appendable)">dumpThis</a>, <a href="../util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class,java.util.Collection)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#isAuto(java.lang.Object)">isAuto</a>, <a href="../util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../util/component/ContainerLifeCycle.html#isUnmanaged(java.lang.Object)">isUnmanaged</a>, <a href="../util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../util/component/ContainerLifeCycle.html#removeEventListener(org.eclipse.jetty.util.component.Container.Listener)">removeEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../util/component/ContainerLifeCycle.html#setStopTimeout(long)">setStopTimeout</a>, <a href="../util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object,boolean)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">updateBeans</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.AbstractLifeCycle">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3>
<code><a href="../util/component/AbstractLifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../util/component/AbstractLifeCycle.html#getStopTimeout()">getStopTimeout</a>, <a href="../util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../util/component/AbstractLifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../util/component/AbstractLifeCycle.html#stop()">stop</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.server.Connector">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.server.<a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></h3>
<code><a href="Connector.html#getTransport()">getTransport</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Container">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3>
<code><a href="../util/component/Container.html#addBean(java.lang.Object)">addBean</a>, <a href="../util/component/Container.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../util/component/Container.html#addEventListener(org.eclipse.jetty.util.component.Container.Listener)">addEventListener</a>, <a href="../util/component/Container.html#getBean(java.lang.Class)">getBean</a>, <a href="../util/component/Container.html#getBeans()">getBeans</a>, <a href="../util/component/Container.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../util/component/Container.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../util/component/Container.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../util/component/Container.html#manage(java.lang.Object)">manage</a>, <a href="../util/component/Container.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../util/component/Container.html#removeEventListener(org.eclipse.jetty.util.component.Container.Listener)">removeEventListener</a>, <a href="../util/component/Container.html#unmanage(java.lang.Object)">unmanage</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3>
<code><a href="../util/component/Dumpable.html#dump()">dump</a>, <a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a>, <a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.Dumpable.DumpableContainer">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3>
<code><a href="../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="../util/component/LifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a>, <a href="../util/component/LifeCycle.html#isFailed()">isFailed</a>, <a href="../util/component/LifeCycle.html#isRunning()">isRunning</a>, <a href="../util/component/LifeCycle.html#isStarted()">isStarted</a>, <a href="../util/component/LifeCycle.html#isStarting()">isStarting</a>, <a href="../util/component/LifeCycle.html#isStopped()">isStopped</a>, <a href="../util/component/LifeCycle.html#isStopping()">isStopping</a>, <a href="../util/component/LifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a>, <a href="../util/component/LifeCycle.html#start()">start</a>, <a href="../util/component/LifeCycle.html#stop()">stop</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="LOG">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LOG</h4>
<pre>protected static final&nbsp;<a href="../util/log/Logger.html" title="interface in org.eclipse.jetty.util.log">Logger</a> LOG</pre>
</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="&lt;init&gt;(org.eclipse.jetty.server.Server,java.util.concurrent.Executor,org.eclipse.jetty.util.thread.Scheduler,org.eclipse.jetty.io.ByteBufferPool,int,org.eclipse.jetty.server.ConnectionFactory...)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractConnector</h4>
<pre>public&nbsp;AbstractConnector&#8203;(<a href="Server.html" title="class in org.eclipse.jetty.server">Server</a>&nbsp;server,
java.util.concurrent.Executor&nbsp;executor,
<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;scheduler,
<a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;pool,
int&nbsp;acceptors,
<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>...&nbsp;factories)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>server</code> - The server this connector will be added to. Must not be null.</dd>
<dd><code>executor</code> - An executor for this connector or null to use the servers executor</dd>
<dd><code>scheduler</code> - A scheduler for this connector or null to either a <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> set as a server bean or if none set, then a new <a href="../util/thread/ScheduledExecutorScheduler.html" title="class in org.eclipse.jetty.util.thread"><code>ScheduledExecutorScheduler</code></a> instance.</dd>
<dd><code>pool</code> - A buffer pool for this connector or null to either a <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io"><code>ByteBufferPool</code></a> set as a server bean or none set, the new <a href="../io/ArrayByteBufferPool.html" title="class in org.eclipse.jetty.io"><code>ArrayByteBufferPool</code></a> instance.</dd>
<dd><code>acceptors</code> - the number of acceptor threads to use, or -1 for a default value. If 0, then no acceptor threads will be launched and some other mechanism will need to be used to accept new connections.</dd>
<dd><code>factories</code> - The Connection Factories to use.</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="getHttpChannelListeners()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHttpChannelListeners</h4>
<pre class="methodSignature">public&nbsp;<a href="HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server">HttpChannel.Listener</a>&nbsp;getHttpChannelListeners()</pre>
<div class="block">Get the <a href="HttpChannel.Listener.html" title="interface in org.eclipse.jetty.server"><code>HttpChannel.Listener</code></a>s added to the connector
as a single combined Listener.
This is equivalent to a listener that iterates over the individual
listeners returned from <code>getBeans(HttpChannel.Listener.class);</code>,
except that: <ul>
<li>The result is precomputed, so it is more efficient</li>
<li>The result is ordered by the order added.</li>
<li>The result is immutable.</li>
</ul></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>An unmodifiable list of EventListener beans</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)"><code>ContainerLifeCycle.getBeans(Class)</code></a></dd>
</dl>
</li>
</ul>
<a id="getServer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServer</h4>
<pre class="methodSignature">public&nbsp;<a href="Server.html" title="class in org.eclipse.jetty.server">Server</a>&nbsp;getServer()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getServer()">getServer</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="Server.html" title="class in org.eclipse.jetty.server"><code>Server</code></a> instance associated with this <a href="Connector.html" title="interface in org.eclipse.jetty.server"><code>Connector</code></a></dd>
</dl>
</li>
</ul>
<a id="getExecutor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutor</h4>
<pre class="methodSignature">public&nbsp;java.util.concurrent.Executor&nbsp;getExecutor()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getExecutor()">getExecutor</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>Executor</code> used to submit tasks</dd>
</dl>
</li>
</ul>
<a id="getByteBufferPool()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getByteBufferPool</h4>
<pre class="methodSignature">public&nbsp;<a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io">ByteBufferPool</a>&nbsp;getByteBufferPool()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getByteBufferPool()">getByteBufferPool</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../io/ByteBufferPool.html" title="interface in org.eclipse.jetty.io"><code>ByteBufferPool</code></a> to acquire buffers from and release buffers to</dd>
</dl>
</li>
</ul>
<a id="getIdleTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIdleTimeout</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The connection idle timeout in milliseconds")
public&nbsp;long&nbsp;getIdleTimeout()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getIdleTimeout()">getIdleTimeout</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the max idle timeout for connections in milliseconds</dd>
</dl>
</li>
</ul>
<a id="setIdleTimeout(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIdleTimeout</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setIdleTimeout&#8203;(long&nbsp;idleTimeout)</pre>
<div class="block"><p>Sets the maximum Idle time for a connection, which roughly translates to the <code>Socket.setSoTimeout(int)</code>
call, although with NIO implementations other mechanisms may be used to implement the timeout.</p>
<p>The max idle time is applied:</p>
<ul>
<li>When waiting for a new message to be received on a connection</li>
<li>When waiting for a new message to be sent on a connection</li>
</ul>
<p>This value is interpreted as the maximum time between some progress being made on the connection.
So if a single byte is read or written, then the timeout is reset.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>idleTimeout</code> - the idle timeout</dd>
</dl>
</li>
</ul>
<a id="getAcceptors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAcceptors</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("number of acceptor threads")
public&nbsp;int&nbsp;getAcceptors()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the number of acceptor threads.</dd>
</dl>
</li>
</ul>
<a id="doStart()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStart</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStart()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../util/component/ContainerLifeCycle.html#doStart()">ContainerLifeCycle</a></code></span></div>
<div class="block">Starts the managed lifecycle beans in the order they were added.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/ContainerLifeCycle.html#doStart()">doStart</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="interruptAcceptors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>interruptAcceptors</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;interruptAcceptors()</pre>
</li>
</ul>
<a id="shutdown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre class="methodSignature">public&nbsp;java.util.concurrent.Future&lt;java.lang.Void&gt;&nbsp;shutdown()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/component/Graceful.html#shutdown()">shutdown</a></code>&nbsp;in interface&nbsp;<code><a href="../util/component/Graceful.html" title="interface in org.eclipse.jetty.util.component">Graceful</a></code></dd>
</dl>
</li>
</ul>
<a id="isShutdown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isShutdown</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isShutdown()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../util/component/Graceful.html#isShutdown()">isShutdown</a></code>&nbsp;in interface&nbsp;<code><a href="../util/component/Graceful.html" title="interface in org.eclipse.jetty.util.component">Graceful</a></code></dd>
</dl>
</li>
</ul>
<a id="doStop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStop</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStop()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../util/component/ContainerLifeCycle.html#doStop()">ContainerLifeCycle</a></code></span></div>
<div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="join()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;join()
throws java.lang.InterruptedException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.InterruptedException</code></dd>
</dl>
</li>
</ul>
<a id="join(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;join&#8203;(long&nbsp;timeout)
throws java.lang.InterruptedException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.InterruptedException</code></dd>
</dl>
</li>
</ul>
<a id="accept(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accept</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;accept&#8203;(int&nbsp;acceptorID)
throws java.io.IOException,
java.lang.InterruptedException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code>java.lang.InterruptedException</code></dd>
</dl>
</li>
</ul>
<a id="isAccepting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAccepting</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isAccepting()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Is the connector accepting new connections</dd>
</dl>
</li>
</ul>
<a id="setAccepting(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAccepting</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setAccepting&#8203;(boolean&nbsp;accepting)</pre>
</li>
</ul>
<a id="getConnectionFactory(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;getConnectionFactory&#8203;(java.lang.String&nbsp;protocol)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getConnectionFactory(java.lang.String)">getConnectionFactory</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>protocol</code> - the next protocol</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> associated with the protocol name</dd>
</dl>
</li>
</ul>
<a id="getConnectionFactory(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;T&nbsp;getConnectionFactory&#8203;(java.lang.Class&lt;T&gt;&nbsp;factoryType)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getConnectionFactory(java.lang.Class)">getConnectionFactory</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
</dl>
</li>
</ul>
<a id="addConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addConnectionFactory&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</pre>
</li>
</ul>
<a id="addFirstConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addFirstConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addFirstConnectionFactory&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</pre>
</li>
</ul>
<a id="addIfAbsentConnectionFactory(org.eclipse.jetty.server.ConnectionFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addIfAbsentConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addIfAbsentConnectionFactory&#8203;(<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;factory)</pre>
</li>
</ul>
<a id="removeConnectionFactory(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;removeConnectionFactory&#8203;(java.lang.String&nbsp;protocol)</pre>
</li>
</ul>
<a id="getConnectionFactories()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectionFactories</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&lt;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&gt;&nbsp;getConnectionFactories()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getConnectionFactories()">getConnectionFactories</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
</dl>
</li>
</ul>
<a id="setConnectionFactories(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConnectionFactories</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setConnectionFactories&#8203;(java.util.Collection&lt;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&gt;&nbsp;factories)</pre>
</li>
</ul>
<a id="getAcceptorPriorityDelta()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAcceptorPriorityDelta</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The priority delta to apply to acceptor threads")
public&nbsp;int&nbsp;getAcceptorPriorityDelta()</pre>
</li>
</ul>
<a id="setAcceptorPriorityDelta(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAcceptorPriorityDelta</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setAcceptorPriorityDelta&#8203;(int&nbsp;acceptorPriorityDelta)</pre>
<div class="block">Set the acceptor thread priority delta.
<p>This allows the acceptor thread to run at a different priority.
Typically this would be used to lower the priority to give preference
to handling previously accepted connections rather than accepting
new connections</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>acceptorPriorityDelta</code> - the acceptor priority delta</dd>
</dl>
</li>
</ul>
<a id="getProtocols()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProtocols</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Protocols supported by this connector")
public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getProtocols()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getProtocols()">getProtocols</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
</dl>
</li>
</ul>
<a id="clearConnectionFactories()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearConnectionFactories</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;clearConnectionFactories()</pre>
</li>
</ul>
<a id="getDefaultProtocol()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultProtocol</h4>
<pre class="methodSignature"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("This connector\'s default protocol")
public&nbsp;java.lang.String&nbsp;getDefaultProtocol()</pre>
</li>
</ul>
<a id="setDefaultProtocol(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultProtocol</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setDefaultProtocol&#8203;(java.lang.String&nbsp;defaultProtocol)</pre>
</li>
</ul>
<a id="getDefaultConnectionFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultConnectionFactory</h4>
<pre class="methodSignature">public&nbsp;<a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server">ConnectionFactory</a>&nbsp;getDefaultConnectionFactory()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getDefaultConnectionFactory()">getDefaultConnectionFactory</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the default <a href="ConnectionFactory.html" title="interface in org.eclipse.jetty.server"><code>ConnectionFactory</code></a> associated with the default protocol name</dd>
</dl>
</li>
</ul>
<a id="handleAcceptFailure(java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleAcceptFailure</h4>
<pre class="methodSignature">protected&nbsp;boolean&nbsp;handleAcceptFailure&#8203;(java.lang.Throwable&nbsp;ex)</pre>
</li>
</ul>
<a id="getConnectedEndPoints()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnectedEndPoints</h4>
<pre class="methodSignature">public&nbsp;java.util.Collection&lt;<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&gt;&nbsp;getConnectedEndPoints()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getConnectedEndPoints()">getConnectedEndPoints</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>immutable collection of connected endpoints</dd>
</dl>
</li>
</ul>
<a id="onEndPointOpened(org.eclipse.jetty.io.EndPoint)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onEndPointOpened</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;onEndPointOpened&#8203;(<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endp)</pre>
</li>
</ul>
<a id="onEndPointClosed(org.eclipse.jetty.io.EndPoint)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onEndPointClosed</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;onEndPointClosed&#8203;(<a href="../io/EndPoint.html" title="interface in org.eclipse.jetty.io">EndPoint</a>&nbsp;endp)</pre>
</li>
</ul>
<a id="getScheduler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScheduler</h4>
<pre class="methodSignature">public&nbsp;<a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a>&nbsp;getScheduler()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getScheduler()">getScheduler</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../util/thread/Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> used to schedule tasks</dd>
</dl>
</li>
</ul>
<a id="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="Connector.html#getName()">Connector</a></code></span></div>
<div class="block">Get the connector name if set.
<p>A <a href="handler/ContextHandler.html" title="class in org.eclipse.jetty.server.handler"><code>ContextHandler</code></a> may be configured with
virtual hosts in the form "@connectorName" and will only serve
requests from the named connector.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Connector.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="Connector.html" title="interface in org.eclipse.jetty.server">Connector</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The connector name or null.</dd>
</dl>
</li>
</ul>
<a id="setName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setName&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Set a connector name. A context may be configured with
virtual hosts in the form "@contextname" and will only serve
requests from the named connector,</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - A connector name.</dd>
</dl>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../util/component/AbstractLifeCycle.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></code></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/AbstractConnector.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><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>