org.jasig.springframework.web.portlet.filter
Class PortletFilterUtils

java.lang.Object
  extended by org.jasig.springframework.web.portlet.filter.PortletFilterUtils

public final class PortletFilterUtils
extends Object

Utilities for interacting with a portlet filter chain

Author:
Eric Dalquist

Method Summary
static void doFilter(javax.portlet.filter.PortletFilter filter, javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, javax.portlet.filter.FilterChain chain)
          Call doFilter on the specified PortletFilter, determines the right PortletFilter interface to use by looking at the PortletRequest.LIFECYCLE_PHASE attribute
static void doFilter(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, javax.portlet.filter.FilterChain chain)
          Call doFilter and use the PortletRequest.LIFECYCLE_PHASE attribute to figure out what type of request/response are in use and call the appropriate doFilter method on FilterChain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doFilter

public static void doFilter(javax.portlet.PortletRequest request,
                            javax.portlet.PortletResponse response,
                            javax.portlet.filter.FilterChain chain)
                     throws IOException,
                            javax.portlet.PortletException
Call doFilter and use the PortletRequest.LIFECYCLE_PHASE attribute to figure out what type of request/response are in use and call the appropriate doFilter method on FilterChain

Throws:
IOException
javax.portlet.PortletException

doFilter

public static void doFilter(javax.portlet.filter.PortletFilter filter,
                            javax.portlet.PortletRequest request,
                            javax.portlet.PortletResponse response,
                            javax.portlet.filter.FilterChain chain)
                     throws IOException,
                            javax.portlet.PortletException
Call doFilter on the specified PortletFilter, determines the right PortletFilter interface to use by looking at the PortletRequest.LIFECYCLE_PHASE attribute

Throws:
IOException
javax.portlet.PortletException


Copyright © 2013 Jasig. All Rights Reserved.