blob: 07b35e1786b562e19426a21512d7ffb4e639ed59 [file] [log] [blame]
<!--
Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<network-config>
<transports>
<transport name="tcp"/>
</transports>
<protocols>
<protocol name="pu-protocol">
<port-unification>
<protocol-finder name="http-finder" classname="org.glassfish.grizzly.config.portunif.HttpProtocolFinder" protocol="http"/>
<protocol-finder name="X-protocol-finder" classname="org.glassfish.grizzly.config.test.example.XProtocolFinder" protocol="X-protocol"/>
</port-unification>
</protocol>
<protocol name="http">
<http enable-comet-support="true"/>
</protocol>
<protocol name="X-protocol">
<protocol-chain-instance-handler>
<protocol-chain>
<protocol-filter name="x-filter" classname="org.glassfish.grizzly.config.test.example.XProtocolFilter"/>
</protocol-chain>
</protocol-chain-instance-handler>
</protocol>
</protocols>
<network-listeners>
<thread-pool name="defaultThreadPool"/>
<network-listener name="http-listener" port="38082" transport="tcp" protocol="pu-protocol" thread-pool="defaultThreadPool"/>
</network-listeners>
</network-config>