| <?xml version="1.0" encoding="UTF-8"?> |
| <web-app |
| 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-app_3_1.xsd" |
| version="3.1"> |
| |
| <listener> |
| <listener-class>org.eclipse.jetty.websocket.server.InfoContextAltAttributeListener</listener-class> |
| </listener> |
| |
| <filter> |
| <filter-name>wsuf-alt</filter-name> |
| <filter-class>org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter</filter-class> |
| <init-param> |
| <param-name>configAttributeKey</param-name> |
| <param-value>alt.config</param-value> |
| </init-param> |
| </filter> |
| |
| <filter-mapping> |
| <filter-name>wsuf-alt</filter-name> |
| <url-pattern>/info/*</url-pattern> |
| </filter-mapping> |
| </web-app> |