com.caucho.server.webapp
Class AccessLogFilterChain

java.lang.Object
  extended by com.caucho.server.webapp.AccessLogFilterChain
All Implemented Interfaces:
CauchoFilterChain, FilterChain

public class AccessLogFilterChain
extends java.lang.Object
implements CauchoFilterChain

Logs the request.


Constructor Summary
AccessLogFilterChain(FilterChain next, WebApp webApp)
          Creates a new FilterChainFilter.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 FilterChain getNext()
          Returns true if cacheable.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessLogFilterChain

public AccessLogFilterChain(FilterChain next,
                            WebApp webApp)
Creates a new FilterChainFilter.

Parameters:
next - the next filterChain
filter - the user's filter
Method Detail

getNext

public FilterChain getNext()
Returns true if cacheable.

Specified by:
getNext in interface CauchoFilterChain

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Invokes the next filter in the chain or 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