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

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

<?xml version="1.0" encoding="UTF-8"?>
<!--
semanticcms-core-servlet - Java API for modeling web page content and relationships in a Servlet environment.
Copyright (C) 2016  AO Industries, Inc.
	[email protected]
	7262 Bull Pen Cir
	Mobile, AL 36695

This file is part of semanticcms-core-servlet.

semanticcms-core-servlet is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

semanticcms-core-servlet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with semanticcms-core-servlet.  If not, see <http://www.gnu.org/licenses/>.
-->
<web-fragment 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"
  version="3.0"
  metadata-complete="false">
	<name>semanticcms-core-servlet</name>
	<!-- Causes: The display name was defined in multiple fragments with different value
    <display-name>SemanticCMS Core Servlet</display-name>
	-->
	<description>Java API for modeling web page content and relationships in a Servlet environment.</description>
	<!-- The UTF-8 filter must be first, declare before all other fragments -->
	<ordering>
		<before>
			<others />
		</before>
	</ordering>
	<!-- Filter to set request character encoding to UTF-8 -->
	<filter>
		<filter-name>Utf8RequestCharacterEncodingFilter</filter-name>
		<filter-class>com.aoindustries.servlet.filter.Utf8RequestCharacterEncodingFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>Utf8RequestCharacterEncodingFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
	</filter-mapping>
	<!-- Filter to strip invalid XML characters from incoming parameters -->
	<filter>
		<filter-name>StripInvalidXmlCharactersFilter</filter-name>
		<filter-class>com.aoindustries.servlet.filter.StripInvalidXmlCharactersFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>StripInvalidXmlCharactersFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
	</filter-mapping>
	<!-- Cleans-up temp files created during request processing. -->
	<filter>
		<filter-name>TempFileContext</filter-name>
		<filter-class>com.aoindustries.servlet.filter.TempFileContext</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>TempFileContext</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
	</filter-mapping>
	<!-- Tracks the request concurrency, used to decide to use concurrent or sequential implementations. -->
	<filter>
		<filter-name>CountConcurrencyFilter</filter-name>
		<filter-class>com.semanticcms.core.servlet.CountConcurrencyFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>CountConcurrencyFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
	</filter-mapping>
	<!-- Sets up the cache for the request. -->
	<filter>
		<filter-name>CacheFilter</filter-name>
		<filter-class>com.semanticcms.core.servlet.CacheFilter</filter-class>
	</filter>
	<filter-mapping>
		<filter-name>CacheFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>ERROR</dispatcher>
	</filter-mapping>
	<!-- Servlet to rewrite CSS files to include lastModified parameters -->
	<servlet>
		<servlet-name>LastModifiedServlet</servlet-name>
		<servlet-class>com.aoindustries.servlet.http.LastModifiedServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>LastModifiedServlet</servlet-name>
		<url-pattern>*.css</url-pattern>
	</servlet-mapping>
</web-fragment>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy