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, shouldNotFilterErrorDispatch
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, IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
IOException
OncePerRequestFilter.doFilterInternal(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, javax.servlet.FilterChain)
Copyright © 2024 OpenMRS Inc.. All rights reserved.