DOC

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

Table Of Contents

Latest Version

Download com.mattunderscore : content-negotiation Javadoc & API Documentation - Latest Versions:

All Versions

Download com.mattunderscore : content-negotiation Javadoc & API Documentation - All Versions:

Version Size Javadoc Updated
0.2.x
0.1.x
0.0.x

How to open Javadoc JAR file in web browser

  1. Rename the file content-negotiation-0.2.8-javadoc.jar to content-negotiation-0.2.8-javadoc.zip
  2. Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder content-negotiation-0.2.8-javadoc
  3. Double click index.html will open the index page on your default web browser.

How to generate Javadoc from a source JAR?

Running the command javadoc:

javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "content-negotiation-0.2.8-sources.jar" -d "content-negotiation-0.2.8-javadoc" -subpackages