aboutsummaryrefslogtreecommitdiffstats
blob: 2e7a57c7fa9f1f52548ea9cab22b11d4ae27f2db (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_0.dtd">

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

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