Class MinifierFilterCBP

  • All Implemented Interfaces:
    org.zeroturnaround.javarebel.ClassBytecodeProcessor

    public class MinifierFilterCBP
    extends org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor
    When rebel.xml parts target dir has the "/html/js" dir inside then JavaScript minifier stops working. e.g. they will scan the dir from the rebel.xml path and the server dir is skipped. Quick fix is: ?js_fast_load=0 or javascript.fast.load=false
    Author:
    Andres Luuk
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor

        org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor.CachingPolicy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(org.zeroturnaround.bundled.javassist.ClassPool cp, ClassLoader cl, org.zeroturnaround.bundled.javassist.CtClass ctClass)  
      • Methods inherited from class org.zeroturnaround.javarebel.integration.support.CacheAwareJavassistClassBytecodeProcessor

        getCachingPolicy, getCachingPolicy, process
      • Methods inherited from class org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor

        acceptPathAsClass, acceptPathAsPrimitive, priority, process, setImplicitClassNames
    • Constructor Detail

      • MinifierFilterCBP

        public MinifierFilterCBP()
    • Method Detail

      • process

        public void process​(org.zeroturnaround.bundled.javassist.ClassPool cp,
                            ClassLoader cl,
                            org.zeroturnaround.bundled.javassist.CtClass ctClass)
                     throws Exception
        Specified by:
        process in class org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor
        Throws:
        Exception