|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.invocation.http.servlet.ReadOnlyAccessFilter
A serlvet filter that enforces read-only access to a single context given by the readOnlyContext init-parameter.
Constructor Summary | |
ReadOnlyAccessFilter()
|
Method Summary | |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Intercept requests and validate that requests to the NamingService |
void |
init(javax.servlet.FilterConfig filterConfig)
Init method for this filter |
String |
toString()
Return a String representation of the filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReadOnlyAccessFilter()
Method Detail |
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
request
- The servlet request we are processingchain
- The filter chain we are processing
IOException
- if an input/output error occurs
javax.servlet.ServletException
- if a servlet error occurspublic void destroy()
destroy
in interface javax.servlet.Filter
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |