org.apache.wicket.protocol.http.portlet
Class PortletInvalidMarkupFilter

java.lang.Object
  extended by org.apache.wicket.protocol.http.portlet.PortletInvalidMarkupFilter
All Implemented Interfaces:
IResponseFilter

public class PortletInvalidMarkupFilter
extends java.lang.Object
implements IResponseFilter

This filter removes html page top level markup elements like , and . The filter is configured automatically by WicketFilter if it detects the application is (potentially) invoked as a Portlet.

Author:
Ate Douma

Constructor Summary
PortletInvalidMarkupFilter()
           
 
Method Summary
 AppendingStringBuffer filter(AppendingStringBuffer responseBuffer)
          Filters the response buffer and returns the filtered response that can be used in the next filter or returned to the real output itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletInvalidMarkupFilter

public PortletInvalidMarkupFilter()
Method Detail

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)
See Also:
IResponseFilter.filter(AppendingStringBuffer)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.