aboutsummaryrefslogtreecommitdiffstats
blob: 445ae6a8a4339fd9555cbaac273792ebc7ac8168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">

<!-- =============================================================== -->
<!-- Mixin the Statistics Handler                                    -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="insertHandler">
    <Arg>
      <New id="StatsHandler" class="org.eclipse.jetty.server.handler.StatisticsHandler">
      </New>
    </Arg>
  </Call>
  <Call class="org.eclipse.jetty.server.ConnectorStatistics" name="addToAllConnectors">
    <Arg><Ref refid="Server"/></Arg>
  </Call>
</Configure>