List of usage examples for org.springframework.web.filter RequestContextFilter subclass-usage
From source file org.openmrs.module.errorlogging.web.filter.ExceptionLogRequestFilter.java
public class ExceptionLogRequestFilter extends RequestContextFilter { protected final static ThreadLocal<HttpServletRequest> requests = new ThreadLocal<HttpServletRequest>(); /** * @see
From source file org.openmrs.module.usagestatistics.web.filter.RequestProviderFilter.java
/** * Filter to catch each new request and store the request object */ public class RequestProviderFilter extends RequestContextFilter { protected static final Log log = LogFactory.getLog("org.openmrs.api");
From source file io.neba.core.spring.web.filter.NebaRequestContextFilter.java
/**
* A modified {@link RequestContextFilter} wrapping
* {@link org.apache.sling.bgservlets.BackgroundHttpServletRequest sling background requests}
* using the {@link BackgroundServletRequestWrapper} to prevent
* {@link UnsupportedOperationException unsupported operation exceptions} when
* {@link ServletRequestAttributes#requestCompleted()} attempts to access the
From source file com.binarybirchtree.filters.IpFilter.java
public class IpFilter extends RequestContextFilter { // Get the user's real IP address, accounting for Cloudflare and Heroku proxying. public static String getForwardedIp(HttpServletRequest request) { String ip = null; // Believe the Cloudflare header only if the last IP was from Cloudflare.