org.apache.wicket.markup.head.filter
Interface FilteringHeaderResponse.IHeaderResponseFilter
- All Known Implementing Classes:
- AbstractHeaderResponseFilter, CssAcceptingHeaderResponseFilter, CssAndPageAcceptingHeaderResponseFilter, JavaScriptAcceptingHeaderResponseFilter, OppositeHeaderResponseFilter
- Enclosing class:
- FilteringHeaderResponse
public static interface FilteringHeaderResponse.IHeaderResponseFilter
A filter used to bucket your resources, inline scripts, etc, into different responses. The
bucketed resources are then rendered by a HeaderResponseContainer
, using the name of
the filter to get the correct bucket.
- Author:
- Jeremy Thomerson
Method Summary |
boolean |
accepts(HeaderItem item)
Determines whether a given HeaderItem should be rendered in the bucket represented by
this filter. |
String |
getName()
|
getName
String getName()
- Returns:
- name of the filter (used by the container that renders these resources)
accepts
boolean accepts(HeaderItem item)
- Determines whether a given HeaderItem should be rendered in the bucket represented by
this filter.
- Parameters:
item
- the item to be rendered
- Returns:
- true if it should be bucketed with other things in this filter
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.