@FunctionalInterface public interface IResponseFilter
RequestCycleSettings.addResponseFilter(IResponseFilter)object. This will be called from the Buffered Response objects right before they would send it to the real responses. You have to use the
RequestCycleSettings.setBufferResponse(boolean)(to true which is the default) for this filtering to work.
|Modifier and Type||Method and Description|
Filters the response buffer and returns the filtered response that can be used in the next filter or returned to the real output itself.
AppendingStringBuffer filter(AppendingStringBuffer responseBuffer)
responseBuffer- The response buffer to be filtered
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.