<?xml version='1.0' encoding='ISO-8859-1'?>
<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">
    <!-- Servlets -->
    <servlet>
        <servlet-name>JerseyWrapper</servlet-name>
        <servlet-class>org.jivesoftware.openfire.plugin.JerseyWrapper</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>GraphServlet</servlet-name>
        <servlet-class>org.jivesoftware.openfire.reporting.graph.GraphServlet</servlet-class>
    </servlet>

    <servlet>
        <servlet-name>ConversationServlet</servlet-name>
        <servlet-class>org.jivesoftware.openfire.archive.ConversationPDFServlet</servlet-class>
    </servlet>

    <!-- Servlet mappings -->
    <servlet-mapping>
        <servlet-name>GraphServlet</servlet-name>
        <url-pattern>/graph</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>ConversationServlet</servlet-name>
        <url-pattern>/conversation</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>JerseyWrapper</servlet-name>
        <url-pattern>/api/*</url-pattern>
    </servlet-mapping>
</web-app>

