Package com.googlecode.webutilities.filters.common

Interface Summary
IgnoreAcceptContext Interface to provide an API for filters to check if given req/res has to be ignore or processed.
 

Class Summary
AbstractFilter Common AbstractFilter - infra filter code to be used by other filters through inheritance

This is to have following infra init parameters to all the filter

- ignoreURLPattern - to ignore the URLs matching this regex - acceptURLPattern - to process the URLs matching this regex (ignore precedes) - ignoreMIMEPattern - to ignore if the response mime matches this regex - acceptMIMEPattern - to process if the response mime matches this regex (ignore precedes) - ignoreUAPattern - to ignore if request user agent name matches this regex - acceptUAPattern - to process if request user agent name matches this regex

This filter implements IgnoreAcceptContext with the help of above init parameters and provides easy api for inherited filters to know if given req/res to be ignored or processes.

 



Copyright © 2011. All Rights Reserved.