Content Negotiation Filter

This Content Negotiation Filter provides a content negotiation filter for Java EE servlet containers. The content negotiation algorithm is based on the Apache negotiation algorithm but lacks support for the encoding and character set. The variants can be configured through an XML file, negotiation.xml, in the WEB-INF/classes directory. This file can be overriden with the 'xmlInputFile' filter parameter. This XML file is parsed with the class 'com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource'. This class can be overridden with the 'variantSource' filter parameter. The XML parser is implemented as a SAX parser. The SAX handler class can be overridden by the saxHandlerClass filter parameter. The 'variantSource' parameter can take any class that implements the 'com.mattunderscore.filter.contentnegotiation.variantsource.VariantSource'.

Лицензия

Лицензия

Группа

Группа

com.mattunderscore
Идентификатор

Идентификатор

content-negotiation
Последняя версия

Последняя версия

0.2.8
Дата

Дата

Тип

Тип

jar
Описание

Описание

Content Negotiation Filter
This Content Negotiation Filter provides a content negotiation filter for Java EE servlet containers. The content negotiation algorithm is based on the Apache negotiation algorithm but lacks support for the encoding and character set. The variants can be configured through an XML file, negotiation.xml, in the WEB-INF/classes directory. This file can be overriden with the 'xmlInputFile' filter parameter. This XML file is parsed with the class 'com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource'. This class can be overridden with the 'variantSource' filter parameter. The XML parser is implemented as a SAX parser. The SAX handler class can be overridden by the saxHandlerClass filter parameter. The 'variantSource' parameter can take any class that implements the 'com.mattunderscore.filter.contentnegotiation.variantsource.VariantSource'.

Скачать content-negotiation

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.mattunderscore/content-negotiation/ -->
<dependency>
    <groupId>com.mattunderscore</groupId>
    <artifactId>content-negotiation</artifactId>
    <version>0.2.8</version>
</dependency>
// https://jarcasting.com/artifacts/com.mattunderscore/content-negotiation/
implementation 'com.mattunderscore:content-negotiation:0.2.8'
// https://jarcasting.com/artifacts/com.mattunderscore/content-negotiation/
implementation ("com.mattunderscore:content-negotiation:0.2.8")
'com.mattunderscore:content-negotiation:jar:0.2.8'
<dependency org="com.mattunderscore" name="content-negotiation" rev="0.2.8">
  <artifact name="content-negotiation" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mattunderscore', module='content-negotiation', version='0.2.8')
)
libraryDependencies += "com.mattunderscore" % "content-negotiation" % "0.2.8"
[com.mattunderscore/content-negotiation "0.2.8"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.mattunderscore : filter-utils jar 0.2.8
com.mattunderscore : shh-encoding jar 0.2.8
com.mattunderscore : shh-language jar 0.2.8
com.mattunderscore : shh-content-type jar 0.2.8

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : servlet-api jar 2.4

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Модули Проекта

Данный проект не имеет модулей.

Версии библиотеки

Версия
0.2.8
0.2.7
0.2.6
0.2.5
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.13