|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.tenant.filter.HttpTenantIdFilter
public class HttpTenantIdFilter
Implementation of the HTTP filter for the tenant context
| Constructor Summary | |
|---|---|
HttpTenantIdFilter(String tenantId)
The constructor with build of the tenant context. |
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy method for this filter. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Do the filter process. |
void |
init(FilterConfig filterConfig)
Init method for this filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpTenantIdFilter(String tenantId)
tenantId - The tenant identifier| Method Detail |
|---|
public void init(FilterConfig filterConfig)
throws ServletException
init in interface FilterfilterConfig - the filter config to init.
ServletException
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
doFilter in interface Filterrequest - The servlet request we are processingresponse - The servlet response we are creatingchain - The filter chain we are processing
IOException - if an input/output error occurs
ServletException - if a servlet error occurspublic void destroy()
destroy in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||