wicket
Interface IResponseFilter
- All Known Implementing Classes:
- AjaxServerAndClientTimeFilter, ServerAndClientTimeFilter, ServerTimeFilter
public interface IResponseFilter
A response filter can be added to the
IRequestCycleSettings.addResponseFilter(IResponseFilter) object
The will be called from the Buffered Response objects right before they would send it to the
real responses. You have to use the
IRequestCycleSettings.setBufferResponse(boolean)(to true which is the default)
for this filtering to work.
- Author:
- jcompagner
- See Also:
IRequestCycleSettings.addResponseFilter(IResponseFilter)
filter
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.
A filter may alter the response buffer and return the response buffer
itself.
- Parameters:
responseBuffer - The response buffer to be filtered
- Returns:
- The changed buffer or the response buffer itself (changed or not)
Copyright © 2004-2007 Wicket developers. All Rights Reserved.