com.caucho.server.dispatch
Class CometServletFilterChain

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

public class CometServletFilterChain
extends java.lang.Object
implements FilterChain

Represents the final servlet in a filter chain.


Constructor Summary
CometServletFilterChain(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CometServletFilterChain

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

Parameters:
config - for the underlying servlet
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