info.magnolia.cms.filters
Class UnicodeNormalizationFilter

java.lang.Object
  extended by info.magnolia.cms.filters.AbstractMgnlFilter
      extended by info.magnolia.cms.filters.UnicodeNormalizationFilter
All Implemented Interfaces:
MgnlFilter, javax.servlet.Filter

public class UnicodeNormalizationFilter
extends AbstractMgnlFilter

Normalizes the current URI to the NFC form which is used internally.

Version:
$Id: $
Author:
Luca Boati
See Also:
UnicodeNormalizer

Constructor Summary
UnicodeNormalizationFilter()
           
 
Method Summary
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
           
 boolean isEnabled()
           
 
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeNormalizationFilter

public UnicodeNormalizationFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in class AbstractMgnlFilter
Throws:
IOException
javax.servlet.ServletException

isEnabled

public boolean isEnabled()
Overrides:
isEnabled in class AbstractMgnlFilter


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.