<commit_before><?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
    version="5.0" xml:id="configuration">
    <title>Configuration Reference</title>
    <section>
        <title>jetty</title>
    
    
    <para>
            <programlisting language="python">jetty:
  context: "/myapp"
  maxThreads: 100
  params:
    a: a1
    b: b2</programlisting>
        </para>
        <para>"jetty" is a root element of the Jetty configuration and is bound to a <link
                xlink:href="https://github.com/nhl/bootique-jetty/blob/master/bootique-jetty/src/main/java/com/nhl/bootique/jetty/server/ServerFactory.java"
                    ><code>ServerFactory</code></link> object. It supports the following
            properties:</para>
    <table frame="void">
        <caption>"jetty" Element Property Reference</caption>
        <col width="20%"/>
        <col width="15%"/>
        <col width="65%"/>
        <thead>
            <tr>
                <th>Property</th>
                <th>Default</th>
                <th>Description</th>
            </tr>
        </thead>
        <tbody>
                <tr>
                    <td><code>connector</code></td>
                    <td><code>HttpConnectorFactory</code></td>
                    <td>An object specifying properties of the web connector. See
                            <code>jetty.connector</code> below.</td>
                </tr>
                <tr>
                    <td><code>context</code></td>
                    <td><code>/</code></td>
                    <td>Web application context path.</td>
                </tr>
                <tr>
                    <td><code>idleThreadTimeout</code></td>
                    <td><code>60000</code></td>
                    <td>A period in milliseconds specifying how long until an idle thread is
                        terminated. </td>
                </tr>
                <tr>
                    <td><code>filters</code></td>
                    <td>empty map</td>
                    <td>A map of servlet filter configurations by filter name. See
                            <code>jetty.filters</code> below.</td>
                </tr>
            <tr>
                <td><code>maxThreads</code></td>
                <td><code>1024</code></td>
                <td>Maximum number of request processing threads in the pool.</td>
            </tr>
            <tr>
                <td><code>minThreads</code></td>
                <td><code>4</code></td>
                <td>Initial number of request processing threads in the pool.</td>
            </tr>
                <tr>
                    <td><code>maxQueuedRequests</code></td>
                    <td><code>1024</code></td>
                    <td>Maximum number of requests to queue if the thread pool is busy.</td>
                </tr>
                <tr>
                    <td><code>params</code></td>
                    <td>empty map</td>
                    <td>A map of arbitrary key/value parameters that are used as "init" parameters
                        of the ServletContext.</td>
                </tr>
                <tr>
                    <td><code>servlets</code></td>
                    <td>empty map</td>
                    <td>A map of servlet configurations by servlet name. See
                            <code>jetty.servlets</code> below.</td>
                </tr>
                <tr>
                    <td><code>sessions</code></td>
                    <td><code>true</code></td>
                    <td>A boolean specifying whether servlet sessions should be supported by
                        Jetty.</td>
                </tr>
                <tr>
                    <td><code>staticResources</code></td>
                    <td><code>false</code></td>
                    <td>If true, Jetty will install a "default" servlet that serves static resources
                        from a specified root. This turns Jetty into something akin to a traditional
                        webserver.</td>
                </tr>
                <tr>
                    <td><code>staticResourceBase</code></td>
                    <td>none</td>
                    <td>
                        <para>Only has effect if <code>staticResources</code> is true. Defines a
                            base location for resources of the Jetty context. It can be a filesystem
                            path, a URL or a special "<code>classpath:/</code>" URL (which gives the<commit_msg>fixing docs inaccuracy - classpath: url should not have a trailing slash<commit_after><?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
    version="5.0" xml:id="configuration">
    <title>Configuration Reference</title>
    <section>
        <title>jetty</title>
    
    
    <para>
            <programlisting language="python">jetty:
  context: "/myapp"
  maxThreads: 100
  params:
    a: a1
    b: b2</programlisting>
        </para>
        <para>"jetty" is a root element of the Jetty configuration and is bound to a <link
                xlink:href="https://github.com/nhl/bootique-jetty/blob/master/bootique-jetty/src/main/java/com/nhl/bootique/jetty/server/ServerFactory.java"
                    ><code>ServerFactory</code></link> object. It supports the following
            properties:</para>
    <table frame="void">
        <caption>"jetty" Element Property Reference</caption>
        <col width="20%"/>
        <col width="15%"/>
        <col width="65%"/>
        <thead>
            <tr>
                <th>Property</th>
                <th>Default</th>
                <th>Description</th>
            </tr>
        </thead>
        <tbody>
                <tr>
                    <td><code>connector</code></td>
                    <td><code>HttpConnectorFactory</code></td>
                    <td>An object specifying properties of the web connector. See
                            <code>jetty.connector</code> below.</td>
                </tr>
                <tr>
                    <td><code>context</code></td>
                    <td><code>/</code></td>
                    <td>Web application context path.</td>
                </tr>
                <tr>
                    <td><code>idleThreadTimeout</code></td>
                    <td><code>60000</code></td>
                    <td>A period in milliseconds specifying how long until an idle thread is
                        terminated. </td>
                </tr>
                <tr>
                    <td><code>filters</code></td>
                    <td>empty map</td>
                    <td>A map of servlet filter configurations by filter name. See
                            <code>jetty.filters</code> below.</td>
                </tr>
            <tr>
                <td><code>maxThreads</code></td>
                <td><code>1024</code></td>
                <td>Maximum number of request processing threads in the pool.</td>
            </tr>
            <tr>
                <td><code>minThreads</code></td>
                <td><code>4</code></td>
                <td>Initial number of request processing threads in the pool.</td>
            </tr>
                <tr>
                    <td><code>maxQueuedRequests</code></td>
                    <td><code>1024</code></td>
                    <td>Maximum number of requests to queue if the thread pool is busy.</td>
                </tr>
                <tr>
                    <td><code>params</code></td>
                    <td>empty map</td>
                    <td>A map of arbitrary key/value parameters that are used as "init" parameters
                        of the ServletContext.</td>
                </tr>
                <tr>
                    <td><code>servlets</code></td>
                    <td>empty map</td>
                    <td>A map of servlet configurations by servlet name. See
                            <code>jetty.servlets</code> below.</td>
                </tr>
                <tr>
                    <td><code>sessions</code></td>
                    <td><code>true</code></td>
                    <td>A boolean specifying whether servlet sessions should be supported by
                        Jetty.</td>
                </tr>
                <tr>
                    <td><code>staticResources</code></td>
                    <td><code>false</code></td>
                    <td>If true, Jetty will install a "default" servlet that serves static resources
                        from a specified root. This turns Jetty into something akin to a traditional
                        webserver.</td>
                </tr>
                <tr>
                    <td><code>staticResourceBase</code></td>
                    <td>none</td>
                    <td>
                        <para>Only has effect if <code>staticResources</code> is true. Defines a
                            base location for resources of the Jetty context. It can be a filesystem
                            path, a URL or a special "<code>classpath:</code>" URL (which gives the
{'fraction_non_alphanumeric': 0.1254071661237785, 'fraction_numerical': 0.00760043431053203, 'mean_word_length': 1.274320987654321, 'pattern_counts': {'":': 0, '<': 361, '<?xml version=': 2, '>': 361, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '258773', 'n_tokens_mistral': 2531, 'n_tokens_neox': 2330, 'n_words': 581}