Debian Codegraph @

jetty-ee10/jetty-ee10-osgi/jetty-ee10-osgi-boot/jettyhome/etc/jetty-http.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
3
4 <!-- ============================================================= -->
5 <!-- Configure the Jetty Server instance with an ID "Server" -->
6 <!-- by adding an HTTP connector. -->
7 <!-- This configuration must be used in conjunction with jetty.xml -->
8 <!-- ============================================================= -->
9 <Configure id="Server" class="org.eclipse.jetty.server.Server">
10
11 <!-- =========================================================== -->
12 <!-- Add an HTTP Connector. -->
13 <!-- Configure an o.e.j.server.ServerConnector with a single -->
14 <!-- HttpConnectionFactory instance using the common httpConfig -->
15 <!-- instance defined in jetty.xml -->
16 <!-- -->
17 <!-- Consult the javadoc of o.e.j.server.ServerConnector and -->
18 <!-- o.e.j.server.HttpConnectionFactory for all configuration -->
19 <!-- that may be set here. -->
20 <!-- =========================================================== -->
21 <Call name="addConnector">
22 <Arg>
23 <New id="httpConnector" class="org.eclipse.jetty.server.ServerConnector">
24 <Arg name="server"><Ref refid="Server" /></Arg>
25 <Arg name="factories">
26 <Array type="org.eclipse.jetty.server.ConnectionFactory">
27 <Item>
28 <New class="org.eclipse.jetty.server.HttpConnectionFactory">
29 <Arg name="config"><Ref refid="httpConfig" /></Arg>
30 </New>
31 </Item>
32 </Array>
33 </Arg>
34 <Set name="host"><Property name="jetty.http.host" /></Set>
35 <Set name="port"><Property name="jetty.http.port" default="80" /></Set>
36 <Set name="idleTimeout"><Property name="jetty.http.idleTimeout" default="30000"/></Set>
37 </New>
38 </Arg>
39 </Call>
40
41 </Configure>