public class OppositeHeaderResponseFilter extends Object implements FilteringHeaderResponse.IHeaderResponseFilter
| Constructor and Description |
|---|
OppositeHeaderResponseFilter(String name,
FilteringHeaderResponse.IHeaderResponseFilter other)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(HeaderItem item)
Determines whether a given HeaderItem should be rendered in the bucket represented by
this filter.
|
String |
getName() |
public OppositeHeaderResponseFilter(String name, FilteringHeaderResponse.IHeaderResponseFilter other)
name - the name used by this filter for its bucket o' stuffother - the other filter to return the opposite ofpublic String getName()
getName in interface FilteringHeaderResponse.IHeaderResponseFilterpublic boolean accepts(HeaderItem item)
FilteringHeaderResponse.IHeaderResponseFilteraccepts in interface FilteringHeaderResponse.IHeaderResponseFilteritem - the item to be renderedCopyright © 2006–2021 Apache Software Foundation. All rights reserved.