com.arsdigita.acs.ug
Class UserGroupFilter

java.lang.Object
  |
  +--com.arsdigita.acs.FilterBase
        |
        +--com.arsdigita.acs.ug.UserGroupFilter
All Implemented Interfaces:
Filter

public class UserGroupFilter
extends FilterBase

Registered filter to set up variables in request attributes for user-group pages. Its static initializer registers the filter to intercept the /groups URL, and to also /group-type where group-type is a group type that has a virtual directory.


Fields inherited from interface com.arsdigita.acs.Filter
FILTER_BREAK, FILTER_OK, FILTER_RETURN
 
Constructor Summary
UserGroupFilter()
           
 
Method Summary
(package private) static void ()
           
 int filter(HttpServletRequest req, HttpServletResponse resp, ServletContext ctx)
          Processes an incoming URL under /groups or /(group-type) and sets appropriate request attributes for the requested URL.
 
Methods inherited from class com.arsdigita.acs.FilterBase
getPath, getPriority, setPath, setPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupFilter

public UserGroupFilter()
Method Detail

static void ()

filter

public int filter(HttpServletRequest req,
                  HttpServletResponse resp,
                  ServletContext ctx)
           throws ACSException
Processes an incoming URL under /groups or /(group-type) and sets appropriate request attributes for the requested URL.

After the filter has run successfully, the following request attributes are set:

Following copied from interface: com.arsdigita.acs.Filter
Parameters:
req - The servlet request
resp - The servlet response
ctx - The servlet context
Returns:
FILTER_RETURN if the caller should not continue processing the request after the filter is called; FILTER_OK if the caller should continue procesing the request; FILTER_BREAK if the caller should not process any more filters.