se.vgr.javg.portlet.filter
Class PortletErrorHandlingFilter
java.lang.Object
se.vgr.javg.portlet.filter.PortletErrorHandlingFilter
- All Implemented Interfaces:
- javax.portlet.filter.ActionFilter, javax.portlet.filter.PortletFilter, javax.portlet.filter.RenderFilter
public class PortletErrorHandlingFilter
- extends Object
- implements javax.portlet.filter.RenderFilter, javax.portlet.filter.ActionFilter
TODO When ready - move this to reference architecture/javg. TODO Document usage within the reference
architecture, in document Anvisningar_Anslutningsskikt_Portlet.doc. TODO add support for portlet methods
missing, e.g. serveResource TODO Fetch info about the portlet and/or portal page that caused the error TODO
Create a "cancel"-link/button (that links back to the portal's start page?). TODO Make the user interface more
like the "interaktionsdesign". TODO Add handling in case the LDAP server is unavailable
- Author:
- sofiajonsson
Method Summary |
void |
destroy()
|
void |
doFilter(javax.portlet.ActionRequest arg0,
javax.portlet.ActionResponse arg1,
javax.portlet.filter.FilterChain arg2)
|
void |
doFilter(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse arg1,
javax.portlet.filter.FilterChain arg2)
|
void |
init(javax.portlet.filter.FilterConfig arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletErrorHandlingFilter
public PortletErrorHandlingFilter()
doFilter
public void doFilter(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse arg1,
javax.portlet.filter.FilterChain arg2)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter
in interface javax.portlet.filter.RenderFilter
- Throws:
IOException
javax.portlet.PortletException
init
public void init(javax.portlet.filter.FilterConfig arg0)
throws javax.portlet.PortletException
- Specified by:
init
in interface javax.portlet.filter.PortletFilter
- Throws:
javax.portlet.PortletException
doFilter
public void doFilter(javax.portlet.ActionRequest arg0,
javax.portlet.ActionResponse arg1,
javax.portlet.filter.FilterChain arg2)
throws IOException,
javax.portlet.PortletException
- Specified by:
doFilter
in interface javax.portlet.filter.ActionFilter
- Throws:
IOException
javax.portlet.PortletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.portlet.filter.PortletFilter
Copyright © 2010. All Rights Reserved.