org.jasig.portlet.test.web
Class TestNameParameterFilter
java.lang.Object
org.jasig.portlet.test.web.TestNameParameterFilter
- All Implemented Interfaces:
- javax.portlet.filter.ActionFilter, javax.portlet.filter.EventFilter, javax.portlet.filter.PortletFilter, javax.portlet.filter.RenderFilter, javax.portlet.filter.ResourceFilter
@Component(value="testSelectingFilter")
public class TestNameParameterFilter
- extends Object
- implements javax.portlet.filter.ActionFilter, javax.portlet.filter.EventFilter, javax.portlet.filter.RenderFilter, javax.portlet.filter.ResourceFilter
- Version:
- $Revision: 23744 $
- Author:
- Eric Dalquist
|
Field Summary |
protected org.slf4j.Logger |
logger
|
|
Method Summary |
void |
destroy()
|
void |
doFilter(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
javax.portlet.filter.FilterChain chain)
|
void |
doFilter(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
javax.portlet.filter.FilterChain chain)
|
void |
doFilter(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.filter.FilterChain chain)
|
void |
doFilter(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
javax.portlet.filter.FilterChain chain)
|
protected
|
doFilterInternal(R request,
com.google.common.base.Function<R,W> createWrapper)
|
void |
init(javax.portlet.filter.FilterConfig filterConfig)
|
void |
setCurrentTestAttributeName(String currentTestAttributeName)
|
void |
setCurrentTestParameterName(String currentTestParameterName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
TestNameParameterFilter
public TestNameParameterFilter()
setCurrentTestAttributeName
public void setCurrentTestAttributeName(String currentTestAttributeName)
setCurrentTestParameterName
public void setCurrentTestParameterName(String currentTestParameterName)
init
public void init(javax.portlet.filter.FilterConfig filterConfig)
throws javax.portlet.PortletException
- Specified by:
init in interface javax.portlet.filter.PortletFilter
- Throws:
javax.portlet.PortletException
destroy
public void destroy()
- Specified by:
destroy in interface javax.portlet.filter.PortletFilter
doFilter
public void doFilter(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
javax.portlet.filter.FilterChain chain)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter in interface javax.portlet.filter.ResourceFilter
- Throws:
IOException
javax.portlet.PortletException
doFilter
public void doFilter(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.filter.FilterChain chain)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter in interface javax.portlet.filter.RenderFilter
- Throws:
IOException
javax.portlet.PortletException
doFilter
public void doFilter(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
javax.portlet.filter.FilterChain chain)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter in interface javax.portlet.filter.EventFilter
- Throws:
IOException
javax.portlet.PortletException
doFilter
public void doFilter(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
javax.portlet.filter.FilterChain chain)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter in interface javax.portlet.filter.ActionFilter
- Throws:
IOException
javax.portlet.PortletException
doFilterInternal
protected <R extends javax.portlet.PortletRequest,W extends ParameterAddingPortletRequestWrapper> R doFilterInternal(R request,
com.google.common.base.Function<R,W> createWrapper)
Copyright © 2012 Jasig. All Rights Reserved.