com.caucho.server.dispatch
Class ServletFilterChain

java.lang.Object
  extended by com.caucho.server.dispatch.ServletFilterChain
All Implemented Interfaces:
FilterChain

public class ServletFilterChain
extends java.lang.Object
implements FilterChain

Represents the final servlet in a filter chain.


Field Summary
static java.lang.String SERVLET_NAME
           
 
Constructor Summary
ServletFilterChain(ServletConfigImpl config)
          Create the filter chain servlet.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 java.util.HashMap<java.lang.String,java.lang.String> getRoleMap()
          Returns the role map.
 java.lang.String getServletName()
          Returns the servlet name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVLET_NAME

public static java.lang.String SERVLET_NAME
Constructor Detail

ServletFilterChain

public ServletFilterChain(ServletConfigImpl config)
Create the filter chain servlet.

Parameters:
config - the underlying ServletConfig
Method Detail

getServletName

public java.lang.String getServletName()
Returns the servlet name.


getRoleMap

public java.util.HashMap<java.lang.String,java.lang.String> getRoleMap()
Returns the role map.


doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Invokes the final servlet at the end of the chain.

Specified by:
doFilter in interface FilterChain
Parameters:
request - the servlet request
response - the servlet response
Throws:
ServletException
java.io.IOException
Since:
Servlet 2.3

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object