38 строки
1.4 KiB
XML
38 строки
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
|
<Call name="addConnector">
|
|
<Arg>
|
|
<New class="org.eclipse.jetty.server.ServerConnector">
|
|
<Arg name="server">
|
|
<Ref refid="Server" />
|
|
</Arg>
|
|
<Arg name="factories">
|
|
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
|
<Item>
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory"/>
|
|
</Item>
|
|
</Array>
|
|
</Arg>
|
|
<Set name="port">11080</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
<Call name="addConnector">
|
|
<Arg>
|
|
<New class="org.eclipse.jetty.server.ServerConnector">
|
|
<Arg name="server">
|
|
<Ref refid="Server" />
|
|
</Arg>
|
|
<Arg name="factories">
|
|
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
|
<Item>
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory"/>
|
|
</Item>
|
|
</Array>
|
|
</Arg>
|
|
<Set name="port">11081</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
</Configure> |