| 1 |
<?xml version="1.0"?> |
| 2 |
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd"> |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
<Configure id="Server" class="org.eclipse.jetty.server.Server"> |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<Get name="ThreadPool"> |
| 18 |
<Set name="minThreads">10</Set> |
| 19 |
<Set name="maxThreads">200</Set> |
| 20 |
</Get> |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
<Set name="handler"> |
| 27 |
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/> |
| 28 |
</Set> |
| 29 |
|
| 30 |
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration"> |
| 31 |
<Set name="secureScheme" property="jetty.httpConfig.secureScheme"/> |
| 32 |
<Set name="securePort" property="jetty.httpConfig.securePort"/> |
| 33 |
<Set name="outputBufferSize" property="jetty.httpConfig.outputBufferSize"/> |
| 34 |
<Set name="outputAggregationSize" property="jetty.httpConfig.outputAggregationSize"/> |
| 35 |
<Set name="requestHeaderSize" property="jetty.httpConfig.requestHeaderSize"/> |
| 36 |
<Set name="responseHeaderSize" property="jetty.httpConfig.responseHeaderSize"/> |
| 37 |
<Set name="sendServerVersion" property="jetty.httpConfig.sendServerVersion"/> |
| 38 |
<Set name="sendDateHeader" property="jetty.httpConfig.sendDateHeader"/> |
| 39 |
<Set name="headerCacheSize" property="jetty.httpConfig.headerCacheSize"/> |
| 40 |
<Set name="delayDispatchUntilContent" property="jetty.httpConfig.delayDispatchUntilContent"/> |
| 41 |
<Set name="maxErrorDispatches" property="jetty.httpConfig.maxErrorDispatches"/> |
| 42 |
<Set name="persistentConnectionsEnabled" property="jetty.httpConfig.persistentConnectionsEnabled"/> |
| 43 |
<Set name="requestCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.requestCookieCompliance" default="RFC6265"/></Arg></Call></Set> |
| 44 |
<Set name="responseCookieCompliance"><Call class="org.eclipse.jetty.http.CookieCompliance" name="valueOf"><Arg><Property name="jetty.httpConfig.responseCookieCompliance" default="RFC6265"/></Arg></Call></Set> |
| 45 |
</New> |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
<Set name="stopAtShutdown" property="jetty.server.stopAtShutdown"/> |
| 52 |
<Set name="stopTimeout"><Property name="jetty.server.stopTimeout" default="5000"/></Set> |
| 53 |
<Set name="dumpAfterStart" property="jetty.server.dumpAfterStart"/> |
| 54 |
<Set name="dumpBeforeStop" property="jetty.server.dumpBeforeStop"/> |
| 55 |
|
| 56 |
<Call class="java.lang.System" name="setProperty"> |
| 57 |
<Arg>java.naming.factory.initial</Arg> |
| 58 |
<Arg><Property name="java.naming.factory.initial" default="org.eclipse.jetty.jndi.InitialContextFactory"/></Arg> |
| 59 |
</Call> |
| 60 |
<Call class="java.lang.System" name="setProperty"> |
| 61 |
<Arg>java.naming.factory.url.pkgs</Arg> |
| 62 |
<Arg><Property name="java.naming.factory.url.pkgs" default="org.eclipse.jetty.jndi"/></Arg> |
| 63 |
</Call> |
| 64 |
|
| 65 |
</Configure> |