Class CropHtmlFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public final class CropHtmlFilter
    extends io.vertigo.vega.impl.servlet.filter.AbstractFilter
    Html cropper filter. Use the (comma separated) elements ids found in the ${croppedIdsHeaderName} header, to crop the HTML produced. Send to client, only these elements. Param ${cropInclusive} say if element is send or only its innerContent (true by default)
    Author:
    npiedeloup
    • Field Summary

      • Fields inherited from class io.vertigo.vega.impl.servlet.filter.AbstractFilter

        EXCLUDE_PATTERN_PARAM_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      CropHtmlFilter()  
    • Constructor Detail

      • CropHtmlFilter

        public CropHtmlFilter()
    • Method Detail

      • doInit

        public void doInit()
        Specified by:
        doInit in class io.vertigo.vega.impl.servlet.filter.AbstractFilter
      • doMyFilter

        public void doMyFilter​(javax.servlet.ServletRequest req,
                               javax.servlet.ServletResponse res,
                               javax.servlet.FilterChain chain)
                        throws IOException,
                               javax.servlet.ServletException
        Specified by:
        doMyFilter in class io.vertigo.vega.impl.servlet.filter.AbstractFilter
        Throws:
        IOException
        javax.servlet.ServletException