org.apache.wicket.protocol.http.portlet
Class PortletInvalidMarkupFilter
java.lang.Object
org.apache.wicket.protocol.http.portlet.PortletInvalidMarkupFilter
- All Implemented Interfaces:
- IResponseFilter
public class PortletInvalidMarkupFilter
- extends Object
- implements IResponseFilter
This filter removes html page top level markup elements like <html>
,
<head>
and <body>
. The filter is configured automatically by
WicketFilter if it detects the application is (potentially) invoked as a Portlet.
- Author:
- Ate Douma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletInvalidMarkupFilter
public PortletInvalidMarkupFilter()
filter
public AppendingStringBuffer filter(AppendingStringBuffer responseBuffer)
- Description copied from interface:
IResponseFilter
- Filters the response buffer and returns the filtered response that can be used in the next
filter or returned to the real output itself.
A filter may alter the response buffer and return the response buffer itself.
- Specified by:
filter
in interface IResponseFilter
- Parameters:
responseBuffer
- The response buffer to be filtered
- Returns:
- The changed buffer or the response buffer itself (changed or not)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.