All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.web-fragment.xml Maven / Gradle / Ivy

Go to download

This project contains dependencies and configuration (web-fragment) needed to enable moskito-webui rest interface via Jersey. To use it simply add it as dependency.

There is a newer version: 2.4.3
Show newest version
<web-fragment metadata-complete="true" version="3.0"
              xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd">
    <name>MoSKitoWebUIRest</name>
    <!--  REST UI-->
    <servlet>
        <servlet-name>JerseyServletContainer</servlet-name>
        <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>

        <init-param>
            <param-name>com.sun.jersey.config.property.packages</param-name>
            <param-value>net.anotheria.moskito.webui</param-value>
        </init-param>
        <init-param>
            <param-name>com.sun.jersey.config.feature.DisableXmlSecurity</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>JerseyServletContainer</servlet-name>
        <url-pattern>/muirest/*</url-pattern>
    </servlet-mapping>
    <!--  / MOSKITO UI END -->
    <ordering>
        <after>
            <name>MoSKitoWebUI</name>
        </after>
        <before>
            <others/>
        </before>
    </ordering>
</web-fragment>





© 2015 - 2025 Weber Informatics LLC | Privacy Policy