com.googlecode.webutilities.filters
Class ClosureCompilerFilter

java.lang.Object
  extended by com.googlecode.webutilities.filters.common.AbstractFilter
      extended by com.googlecode.webutilities.filters.ClosureCompilerFilter
All Implemented Interfaces:
IgnoreAcceptContext, javax.servlet.Filter

public class ClosureCompilerFilter
extends AbstractFilter

Filter that performs minification using Google Closure Compiler

Version:
1.0
Author:
rpatil

Field Summary
 
Fields inherited from class com.googlecode.webutilities.filters.common.AbstractFilter
filterConfig
 
Constructor Summary
ClosureCompilerFilter()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig config)
           
 
Methods inherited from class com.googlecode.webutilities.filters.common.AbstractFilter
destroy, isMIMEAccepted, isURLAccepted, isUserAgentAccepted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureCompilerFilter

public ClosureCompilerFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Overrides:
init in class AbstractFilter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse resp,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2011. All Rights Reserved.