public abstract class AbstractFilter extends Object implements javax.servlet.Filter
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.FilterConfig |
config
The filter configuration
|
protected String |
servletContextName
The Servlet context name
|
| Constructor and Description |
|---|
AbstractFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInit(javax.servlet.FilterConfig config)
Allows sub-classes to initialize
|
protected ExoContainer |
getContainer() |
protected javax.servlet.ServletContext |
getServletContext() |
void |
init(javax.servlet.FilterConfig config) |
protected boolean |
requirePortalEnvironment()
Indicates if it requires that a full portal environment must be set
|
protected javax.servlet.FilterConfig config
protected String servletContextName
public final void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionprotected void afterInit(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
config - the current filter configurationjavax.servlet.ServletExceptionprotected final ExoContainer getContainer()
ExoContainer that fits best with the current contextprotected boolean requirePortalEnvironment()
true if it requires the portal environment false otherwise.protected javax.servlet.ServletContext getServletContext()
ServletContextCopyright © 2018 eXo Platform SAS. All Rights Reserved.