Class EndOfRequestCleanupFilter
- java.lang.Object
-
- org.apache.tapestry5.internal.test.EndOfRequestCleanupFilter
-
- All Implemented Interfaces:
RequestFilter
public class EndOfRequestCleanupFilter extends Object implements RequestFilter
Makes sure thatPerthreadManager.cleanup()
is invoked at the end of each request (normally handled byTapestryFilter
).
-
-
Constructor Summary
Constructors Constructor Description EndOfRequestCleanupFilter(PerthreadManager perThreadManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
service(Request request, Response response, RequestHandler handler)
Returns true if the request has been handled, false otherwise.
-
-
-
Constructor Detail
-
EndOfRequestCleanupFilter
public EndOfRequestCleanupFilter(PerthreadManager perThreadManager)
-
-
Method Detail
-
service
public boolean service(Request request, Response response, RequestHandler handler) throws IOException
Description copied from interface:RequestFilter
Returns true if the request has been handled, false otherwise.- Specified by:
service
in interfaceRequestFilter
- Throws:
IOException
-
-