public abstract class AbstractHeaderResponseFilter extends Object implements FilteringHeaderResponse.IHeaderResponseFilter
Constructor and Description |
---|
AbstractHeaderResponseFilter(String name)
Create a response filter.
|
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.
|
protected boolean |
acceptsWrapped(HeaderItem item) |
String |
getName() |
public AbstractHeaderResponseFilter(String name)
name
- public String getName()
getName
in interface FilteringHeaderResponse.IHeaderResponseFilter
public boolean accepts(HeaderItem item)
FilteringHeaderResponse.IHeaderResponseFilter
accepts
in interface FilteringHeaderResponse.IHeaderResponseFilter
item
- the item to be renderedprotected boolean acceptsWrapped(HeaderItem item)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.