<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"><!-- ============================================================= --><!-- Configure the Jetty Server instance with an ID "Server" --><!-- by adding a HTTP connector. --><!-- This configuration must be used in conjunction with jetty.xml --><!-- ============================================================= --><Configureid="Server"class="org.eclipse.jetty.server.Server"><!-- =========================================================== --><!-- Add a HTTP Connector. --><!-- Configure an o.e.j.server.ServerConnector with a single --><!-- HttpConnectionFactory instance using the common httpConfig --><!-- instance defined in jetty.xml --><!-- --><!-- Consult the javadoc of o.e.j.server.ServerConnector and --><!-- o.e.j.server.HttpConnectionFactory for all configuration --><!-- that may be set here. --><!-- =========================================================== --><Callname="addConnector"><Arg><Newclass="org.eclipse.jetty.server.ServerConnector"><Argname="server"><Refrefid="Server"/></Arg><Argname="acceptors"type="int"><Propertyname="solr.jetty.http.acceptors"default="-1"/></Arg><Argname="selectors"type="int"><Propertyname="solr.jetty.http.selectors"default="-1"/></Arg><Argname="factories"><Arraytype="org.eclipse.jetty.server.ConnectionFactory"><Item><Newclass="org.eclipse.jetty.server.HttpConnectionFactory"><Argname="config"><Refrefid="httpConfig"/></Arg></New></Item></Array></Arg><Setname="host"><Propertyname="jetty.host"default="0.0.0.0"/></Set><Setname="port"><Propertyname="jetty.port"default="8983"/></Set><Setname="idleTimeout"><Propertyname="solr.jetty.http.idleTimeout"default="50000"/></Set><Setname="soLingerTime"><Propertyname="solr.jetty.http.soLingerTime"default="-1"/></Set><Setname="acceptorPriorityDelta"><Propertyname="solr.jetty.http.acceptorPriorityDelta"default="0"/></Set><Setname="selectorPriorityDelta"><Propertyname="solr.jetty.http.selectorPriorityDelta"default="0"/></Set><Setname="acceptQueueSize"><Propertyname="solr.jetty.http.acceptQueueSize"default="0"/></Set></New></Arg></Call></Configure>
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.