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 org.seasar.struts.filter.S2StrutsFilter.java

/**
 * S2Struts???
 * 
 * @author Satoshi Kimura
 * @author Katsuhiko Nagashima
 */

From source file com.sg.rest.filters.LoggerFilter.java

@Component
public class LoggerFilter implements Filter {

    private static final String BODY = "Body: ";
    private static final String PRINCIPAL = "Principal: ";
    private static final String REMOTE_HOST = "RemoteHost: ";

From source file org.infoscoop.web.CheckSessionIdFilter.java

public class CheckSessionIdFilter implements javax.servlet.Filter {
    private Log log = LogFactory.getLog(this.getClass());

    public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
            throws IOException, ServletException {
        HttpServletRequest httpReq = (HttpServletRequest) req;

From source file org.osaf.cosmo.filters.ClientICalendarFilter.java

/**
 * A filter used to initialize the client identifier for
 * the ICalendarClientFilterManager, which is responsible for
 * exporting icalendar tailored to a specific client.
 * 
 * The filter relies on a map of regex expression keys that

From source file de.uni_koeln.spinfo.maalr.login.UserToMdcFilter.java

/**
 * This filter will put the current login into the "Mapped Diagnostic Context", which is used by
 * slf4j to add additional information to the logging output.
 * 
 * @see http://logback.qos.ch/manual/mdc.html
 * @author schwieb

From source file org.craftercms.engine.servlet.filter.ExceptionHandlingFilter.java

/**
 * Top level filter used for handling uncaught and unhandled exceptions within the code.
 *
 * @author Alfonso Vsquez
 */
public class ExceptionHandlingFilter implements Filter {

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

/**
 * <code>RequestMethodFilter</code> is a filter which can be used to restrict
 * access to a servlet by using any of the methods available in <code>
 * javax.servlet.ServletRequest</code> or <code>
 * javax.servlet.http.HttpServletRequest</code>.
 *

From source file org.xmlactions.web.PagerFilter.java

public class PagerFilter implements javax.servlet.Filter {

    private static Logger logger = LoggerFactory.getLogger(PagerFilter.class);

    private static Map<String, String> mapRequestParams = new HashMap<String, String>();

From source file com.github.achatain.nopasswordauthentication.di.filters.JsonFilter.java

@Singleton
public class JsonFilter implements Filter {

    private static final Set<String> JSON_TYPES = Sets
            .newHashSet(MediaType.JSON_UTF_8.withoutParameters().toString(), MediaType.JSON_UTF_8.toString());

From source file ar.com.zauber.commons.web.filter.JSONPRequestFilter.java

/**
 * {@link Filter} that wraps a JSON response in a JSONP callback function if:
 * <ul>
 * <li>The request contains one of {@link #acceptedTypes} in the "Accept"
 * header. Default:
 * <ul>