public class OpenmrsFilter
extends org.springframework.web.filter.OncePerRequestFilter
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
OpenmrsFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
javax.servlet.FilterChain chain)
This method is called for every request for a page/image/javascript file/etc The main point
of this is to make sure the user's current userContext is on the session and on the current
thread
|
doFilter, getAlreadyFilteredAttributeName, shouldNotFilter
public void destroy()
destroy
in interface javax.servlet.Filter
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.web.filter.GenericFilterBean
Filter.destroy()
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, javax.servlet.FilterChain chain) throws javax.servlet.ServletException, java.io.IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
java.io.IOException
OncePerRequestFilter.doFilterInternal(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, javax.servlet.FilterChain)
Copyright © 2020 OpenMRS Inc.. All Rights Reserved.