com.googlecode.webutilities.modules.ne
Class NewModulesFilter

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

public class NewModulesFilter
extends AbstractFilter


Nested Class Summary
static class NewModulesFilter.Config
          Class that holds the configuration details.
static class NewModulesFilter.RulesMapping
          Class that maps the rules based on URL pattern, mime type pattern or user agent string pattern.
 
Field Summary
static String DEFAULT_MODULES_PACKAGE
           
static org.slf4j.Logger LOGGER
           
 
Fields inherited from class com.googlecode.webutilities.filters.common.AbstractFilter
filterConfig
 
Constructor Summary
NewModulesFilter()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
static void main(String[] args)
           
 
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
 

Field Detail

DEFAULT_MODULES_PACKAGE

public static final String DEFAULT_MODULES_PACKAGE
See Also:
Constant Field Values

LOGGER

public static final org.slf4j.Logger LOGGER
Constructor Detail

NewModulesFilter

public NewModulesFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          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 servletRequest,
                     javax.servlet.ServletResponse servletResponse,
                     javax.servlet.FilterChain filterChain)
              throws IOException,
                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

main

public static void main(String[] args)


Copyright © 2011. All Rights Reserved.