br.com.arsmachina.accesslogger.services
Class AccessLoggerRequestFilter

java.lang.Object
  extended by br.com.arsmachina.accesslogger.services.AccessLoggerRequestFilter
All Implemented Interfaces:
RequestFilter

public class AccessLoggerRequestFilter
extends Object
implements RequestFilter

Tapestry 5 request filter that sets the .

Author:
Thiago H. de Paula Figueiredo

Field Summary
static String LOGGED_USER_REQUEST_ATTRIBUTE
           
 
Constructor Summary
AccessLoggerRequestFilter(ApplicationStateManager applicationStateManager)
          Single constructor of this class.
 
Method Summary
 boolean service(Request request, Response response, RequestHandler requestHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGED_USER_REQUEST_ATTRIBUTE

public static final String LOGGED_USER_REQUEST_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

AccessLoggerRequestFilter

public AccessLoggerRequestFilter(ApplicationStateManager applicationStateManager)
Single constructor of this class.

Parameters:
applicationStateManager - an ApplicationStateManager. It cannot be null.
Method Detail

service

public boolean service(Request request,
                       Response response,
                       RequestHandler requestHandler)
                throws IOException
Specified by:
service in interface RequestFilter
Throws:
IOException
See Also:
RequestFilter.service(org.apache.tapestry5.services.Request, org.apache.tapestry5.services.Response, org.apache.tapestry5.services.RequestHandler)


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.