public class OpenmrsFilter
extends org.springframework.web.filter.OncePerRequestFilter
| 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, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchpublic void destroy()
destroy in interface javax.servlet.Filterdestroy in interface org.springframework.beans.factory.DisposableBeandestroy in class org.springframework.web.filter.GenericFilterBeanFilter.destroy()protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException,
IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterjavax.servlet.ServletExceptionIOExceptionOncePerRequestFilter.doFilterInternal(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, javax.servlet.FilterChain)Copyright © 2024 OpenMRS Inc.. All rights reserved.