Constructor and Description |
---|
AmberContextFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the filter.
|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain next)
Handles the filter request.
|
void |
init(FilterConfig config)
Initializes the filter.
|
void |
setAmberFactory(JndiBuilder jndiBuilder)
Sets the factory.
|
public void setAmberFactory(JndiBuilder jndiBuilder) throws javax.naming.NamingException
javax.naming.NamingException
public void init(FilterConfig config) throws ServletException
init
in interface Filter
ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain next) throws ServletException, java.io.IOException
doFilter
in interface Filter
request
- the servlet requestresponse
- the servlet responsenext
- the next filter in the chainServletException
java.io.IOException