MVN

com.mattunderscore : content-negotiation

Maven & Gradle

Jul 26, 2014

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'.

<dependency>
    <groupId>com.mattunderscore</groupId>
    <artifactId>content-negotiation</artifactId>
    <version>0.2.8</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.mattunderscore : content-negotiation to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.2.8

All Versions

Choose a version of com.mattunderscore : content-negotiation to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.2.x
content-negotiation-0.2.8
content-negotiation-0.2.7
content-negotiation-0.2.6
content-negotiation-0.2.5
content-negotiation-0.2.3
content-negotiation-0.2.2
content-negotiation-0.2.1
content-negotiation-0.2.0
0.1.x
content-negotiation-0.1.2
content-negotiation-0.1.1
content-negotiation-0.1.0
0.0.x
content-negotiation-0.0.13

How to add a dependency to Maven

Add the following com.mattunderscore : content-negotiation maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.mattunderscore</groupId>
    <artifactId>content-negotiation</artifactId>
    <version>0.2.8</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.mattunderscore : content-negotiation gradle dependency to your build.gradle file:

implementation 'com.mattunderscore:content-negotiation:0.2.8'

Gradle Kotlin DSL: Add the following com.mattunderscore : content-negotiation gradle kotlin dependency to your build.gradle.kts file:

implementation("com.mattunderscore:content-negotiation:0.2.8")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.mattunderscore : content-negotiation sbt scala dependency to your build.sbt file:

libraryDependencies += "com.mattunderscore" % "content-negotiation" % "0.2.8"