    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface org.doit.muffin.RedirectFilter

public interface RedirectFilter
extends Filter

Author:
  Mark Boyns

##

needsRedirection(Request)
  Specify whether or not this filter is interested in redirecting this request.
redirect(Request)
  Return the URL location where the request should be redirected or null for no redirection.

##

needsRedirection

     public abstract boolean needsRedirection(Request request)

  Specify whether or not this filter is interested in redirecting this request.

  Parameters:
    request - the request

redirect

     public abstract String redirect(Request request)

  Return the URL location where the request should be redirected or null for no redirection.

  Parameters:
    request - the request

    All Packages  Class Hierarchy  This Package  Previous  Next  Index