WARequestHandler

WARequestHandlers have undergone several changes in Seaside 3.0.

  1. a request handler should push itself on the WARequestContext
  2. a request handler can be decorated with WARequestFilters

WARequestFilter

WARequestFilter is similar to WADecoration but works on a WARequestHandler instead of a WAComponent. It is a direct way to hook into the request processing. Filters are similar to Java Servlet filters. Possible uses include:

  • caching
  • logging
  • security
  • transactions

Migration

You have to implement #handleFiltered: instead of #handleRequest:. This method will be passed the current request context instead of the current request. You can get the request from the context by calling #request.