Example usage for javax.servlet Filter interface-usage

List of usage examples for javax.servlet Filter interface-usage

Introduction

In this page you can find the example usage for javax.servlet Filter interface-usage.

Usage

From source file com.zoe.weiya.security.WwwAuthFilter.java

public final class WwwAuthFilter implements Filter {
    private static final ZoeLogger log = ZoeLoggerFactory.getLogger(WwwAuthFilter.class);

    private static final String AUTH_PREFIX = "Basic ";

    private String username = "root";

From source file SessionExpirationFilter.java

public class SessionExpirationFilter implements Filter {

    public void init(FilterConfig config) {
    }

    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain)

From source file org.kuali.kra.web.filter.SessionExpiredFilter.java

public class SessionExpiredFilter implements Filter {
    private static final Log LOG = LogFactory.getLog(SessionExpiredFilter.class);

    public void destroy() {
    }

From source file com.log4ic.compressor.cache.filter.BrowserCacheFilter.java

/**
 * 
 *
 * @author  IntelligentCode
 */
public class BrowserCacheFilter implements Filter {

From source file com.confighub.api.server.filters.UrlRewriteFilter.java

public class UrlRewriteFilter implements Filter {
    private static final Logger log = LogManager.getLogger(UrlRewriteFilter.class);

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
    }

From source file com.jiangyifen.ec2.servlet.http.common.filter.HttpCommonFilter.java

/**
 * 
 * @Description ??
 * 
 * @author jrh
 * @date 201433 ?1:47:56

From source file org.openmrs.module.casereport.CrossOriginResourceSharingFilter.java

/**
 * This filter
 * 
 * @see <a href="http://www.w3.org/TR/cors/">CORS specification</a>
 */
@Controller

From source file edu.vt.middleware.servlet.filter.RequestDumperFilter.java

/**
 * Example filter that dumps interesting state information about a request to
 * the associated servlet context log file, before allowing the servlet to
 * process the request in the usual way. This can be installed as needed to
 * assist in debugging problems.
 *

From source file org.jboss.tools.web.pagereloader.internal.service.LiveReloadScriptFileFilter.java

/**
 * @author xcoulon
 *
 */
public class LiveReloadScriptFileFilter implements Filter {

From source file net.mymam.upload.UploadMultipartRequestFilter.java

/**
 * Servlet filter to wrap multipart requests into {@link UploadMultipartRequestWrapper}.
 * This makes uploaded files available to the {@link net.mymam.ui.UploadRenderer UploadRenderer}.
    
 * <p/>
 * See section "How do I support file uploads" in <i>Core Java Server Faces</i>, 3rd Edition.