<?xml version="1.0" encoding="UTF-8"?>

<web-fragment 
   xmlns="http://xmlns.jcp.org/xml/ns/javaee"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd"
   version="3.1">
	<servlet>
		<display-name>SerialRestServlet</display-name>
		<servlet-name>SerialRestServlet</servlet-name>
		<servlet-class>org.eclipse.jetty.example.asyncrest.SerialRestServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>SerialRestServlet</servlet-name>
		<url-pattern>/testSerial</url-pattern>
	</servlet-mapping>
	
	<servlet>
		<display-name>AsyncRestServlet</display-name>
		<servlet-name>AsyncRestServlet</servlet-name>
		<servlet-class>org.eclipse.jetty.example.asyncrest.AsyncRestServlet</servlet-class>
		<async-supported>true</async-supported>
	</servlet>
	<servlet-mapping>
		<servlet-name>AsyncRestServlet</servlet-name>
		<url-pattern>/testAsync</url-pattern>
	</servlet-mapping>	
</web-fragment>
