Skip navigation links
B C D E F G H I L N O P R S U V W X 

B

BaseVariantXMLSource - Class in com.mattunderscore.filter.contentnegotiation.variantsource
A variant source that parses XML for variants.
BaseVariantXMLSource() - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.BaseVariantXMLSource
 
BaseVariantXMLSource(VariantSAXHandler) - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.BaseVariantXMLSource
 

C

CachedVariantSource - Class in com.mattunderscore.filter.contentnegotiation.variantsource
Supports caching variant sources by providing a wrapper around them.
CachedVariantSource(VariantSource) - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.CachedVariantSource
Constructs a cached version of the variant source.
characters(char[], int, int) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 
clearCache() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.CachedVariantSource
Clears the cache of any variants.
code - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Header
 
code - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
 
com.mattunderscore.filter.contentnegotiation - package com.mattunderscore.filter.contentnegotiation
Package for content negotiation filter.
com.mattunderscore.filter.contentnegotiation.parser - package com.mattunderscore.filter.contentnegotiation.parser
Package for parsing content negotiation variants.
com.mattunderscore.filter.contentnegotiation.variantsource - package com.mattunderscore.filter.contentnegotiation.variantsource
Package contains classes and interfaces that provide variant sources.
ConfigurableVariantSource - Interface in com.mattunderscore.filter.contentnegotiation.variantsource
A variant source that requires configuration before it can provide variants.
configureFilter() - Method in class com.mattunderscore.filter.contentnegotiation.ContentNegotiationFilter
 
configureSource(Map<String, String>) - Method in interface com.mattunderscore.filter.contentnegotiation.variantsource.ConfigurableVariantSource
Provide parameter values to configure the variant source.
configureSource(FilterConfig) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
 
configureSource(FilterConfig) - Method in interface com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceForFilter
Configures the variant source with a filter config object
ContentNegotiationFilter - Class in com.mattunderscore.filter.contentnegotiation
A Filter that can be used for content negotiation of HTTP requests.
ContentNegotiationFilter() - Constructor for class com.mattunderscore.filter.contentnegotiation.ContentNegotiationFilter
 
contentType - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 
CrossProduct - Class in com.mattunderscore.filter.contentnegotiation.parser
Cross product used to combine the quality and quality of source values for a variant.
CrossProduct(Qualified, Qualified, Variant) - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.CrossProduct
 

D

doHTTPFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.mattunderscore.filter.contentnegotiation.ContentNegotiationFilter
 

E

endElement(String, String, String) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 
equals(Object) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
 
equals(Object) - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
 
equals(Object) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
 
equals(Object) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
 
equals(Object) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 
error(SAXParseException) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 

F

fail - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Output
 
fatalError(SAXParseException) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 
FilterVariantXMLSource - Class in com.mattunderscore.filter.contentnegotiation.variantsource
A variant source that parses XML for variants and is configured from a filter.
FilterVariantXMLSource() - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
 
forward - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Output
 

G

getCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
Get the status code of the header
getCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
Get the code of the redirect.
getContentType() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the content type of the variant.
getForward() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Get the forward of the output.
getHeader() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Get the header of the output.
getLanguage() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the language of the variant.
getLocation() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
Get the location of the redirect.
getName() - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
Get the name of the header element
getOutput() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the output of the variant.
getPart() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
Get the header parts of the header
getQContentTypes() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the structured content types of the variant.
getQLanguages() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the structured languages of the variant.
getQualifier() - Method in class com.mattunderscore.filter.contentnegotiation.parser.CrossProduct
 
getRedirect() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Get the redirect of the output.
getSchema() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantSAXHandler
Return the schema that will be used by the BaseVariantXMLSource to verify the XML input.
getSchema() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 
getUrlPattern() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Get the URL pattern of the variant.
getValue() - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
Get the value of the header element
getVariant() - Method in class com.mattunderscore.filter.contentnegotiation.parser.CrossProduct
Returns the server's variant associated with the cross product.
getVariants() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.BaseVariantXMLSource
 
getVariants() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.CachedVariantSource
 
getVariants() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
 
getVariants() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantSAXHandler
Returns the variants created by the parser.
getVariants() - Method in interface com.mattunderscore.filter.contentnegotiation.variantsource.VariantSource
Get the variants from the variant source.
getVariants() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 

H

hashCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
 
hashCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
 
hashCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
 
hashCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
 
hashCode() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 
Header - Class in com.mattunderscore.filter.contentnegotiation.parser
The description of a header returned by the content negotiation filter.
Header() - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.Header
 
header - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Output
 
HeaderPart - Class in com.mattunderscore.filter.contentnegotiation.parser
A header field element returned as part of the header by the content negotiation filter.
HeaderPart() - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
 

I

InputStreamVariantSource - Interface in com.mattunderscore.filter.contentnegotiation.variantsource
A variant source that gets the variants from an input stream.
isCacheEmpty() - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.CachedVariantSource
Returns true when there are no cached variants.
isFail() - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Get the fail of the output.

L

language - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 
location - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
 

N

name - Variable in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
 
NoSchemaException - Exception in com.mattunderscore.filter.contentnegotiation.variantsource
An exception used to indicate that there is no schema needed or available.
NoSchemaException() - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.NoSchemaException
NoSchemaException constructor that can be used to indicate there is no schema needed.
NoSchemaException(Throwable) - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.NoSchemaException
NoSchemaException constructor that can be used to wrap an exception that prevented the Schema object from being created.

O

Output - Class in com.mattunderscore.filter.contentnegotiation.parser
The result of the content negotiation matching a variant.
Output() - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.Output
 
output - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 

P

parts - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Header
 

R

redirect - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Output
 
Redirect - Class in com.mattunderscore.filter.contentnegotiation.parser
The description of a redirect header returned by the content negotiation filter.
Redirect() - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.Redirect
 
requestPathMatchesVariant(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Decide if the variant URL pattern matches the request path.

S

SAX_HANDLER - Static variable in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
Name of the parameter that identifies the SAX hander to use.
setCode(int) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
Set the status code of the header
setCode(int) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
Set the code of the redirect.
setContentType(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Set the content type of the variant.
setFail(Boolean) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Set the fail of the output.
setForward(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Set the forward of the output.
setHandler(VariantSAXHandler) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.BaseVariantXMLSource
Setter for the SAX handler.
setHeader(Header) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Set the header of the output.
setInputStream(InputStream) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.BaseVariantXMLSource
 
setInputStream(InputStream) - Method in interface com.mattunderscore.filter.contentnegotiation.variantsource.InputStreamVariantSource
Setter for the input stream that provides the description of the variants.
setLanguage(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Set the language of the variant.
setLocation(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Redirect
Set the location of the redirect.
setName(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
Set the name of the header element
setOutput(Output) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Set the output of the variant.
setPart(List<HeaderPart>) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Header
Set the header parts of the header
setRedirect(Redirect) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Output
Set the redirect of the output.
setUrlPattern(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.Variant
Set the URL pattern of the variant.
setValue(String) - Method in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
Set the value of the header element
startElement(String, String, String, Attributes) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 

U

urlPattern - Variable in class com.mattunderscore.filter.contentnegotiation.parser.Variant
 

V

value - Variable in class com.mattunderscore.filter.contentnegotiation.parser.HeaderPart
 
Variant - Class in com.mattunderscore.filter.contentnegotiation.parser
The description of a variant used by the content negotiation filter to decide how to respond to a request.
Variant() - Constructor for class com.mattunderscore.filter.contentnegotiation.parser.Variant
 
VARIANT_SOURCE_PARAMETER - Static variable in class com.mattunderscore.filter.contentnegotiation.ContentNegotiationFilter
The parameter name of the variant source class parameter.
VariantSAXHandler - Class in com.mattunderscore.filter.contentnegotiation.variantsource
A SAX handler that creates a list of Variant objects from XML.
VariantSAXHandler() - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.VariantSAXHandler
 
VariantSource - Interface in com.mattunderscore.filter.contentnegotiation.variantsource
A variant source is any object that provides variants to the content negotiation filter.
VariantSourceConfigurationException - Exception in com.mattunderscore.filter.contentnegotiation.variantsource
An exception thrown from variant sources when configuring the source or because the configuration is not valid.
VariantSourceConfigurationException() - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceConfigurationException
Creates an exception with the default exception message.
VariantSourceConfigurationException(String) - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceConfigurationException
Creates an exception with a specific exception message.
VariantSourceConfigurationException(String, Throwable) - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceConfigurationException
Creates an exception with a specific exception message and a cause.
VariantSourceException - Exception in com.mattunderscore.filter.contentnegotiation.variantsource
An exception thrown from variant sources.
VariantSourceException() - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceException
Creates an exception with the default exception message.
VariantSourceException(String) - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceException
Creates an exception with a specific exception message.
VariantSourceException(String, Throwable) - Constructor for exception com.mattunderscore.filter.contentnegotiation.variantsource.VariantSourceException
Creates an exception with a specific exception message and a cause.
VariantSourceForFilter - Interface in com.mattunderscore.filter.contentnegotiation.variantsource
It is intended to be called from filters and is configured with a FilterConfig.
VariantXMLParser - Class in com.mattunderscore.filter.contentnegotiation.variantsource
Parser for the Negotiation XML file.
VariantXMLParser() - Constructor for class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 

W

warning(SAXParseException) - Method in class com.mattunderscore.filter.contentnegotiation.variantsource.VariantXMLParser
 

X

XML_INPUT_FILE - Static variable in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
 
XML_INPUT_RESOURCE - Static variable in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
Name of parameter that identifies a resource that can be retrieved as a stream from the servlet context.
XML_INPUT_STRING - Static variable in class com.mattunderscore.filter.contentnegotiation.variantsource.FilterVariantXMLSource
 
B C D E F G H I L N O P R S U V W X 
Skip navigation links

Copyright © 2016. All Rights Reserved.