Module org.apache.wicket.core
Class JavaScriptAcceptingHeaderResponseFilter
java.lang.Object
org.apache.wicket.markup.head.filter.AbstractHeaderResponseFilter
org.apache.wicket.markup.head.filter.JavaScriptAcceptingHeaderResponseFilter
- All Implemented Interfaces:
Predicate<HeaderItem>
,FilteringHeaderResponse.IHeaderResponseFilter
This filter accepts all
JavaScriptHeaderItem
s.
Note: this filter used to accept everything that is not css, it no longer does. For example,
meta-tags are neither CSS nor JS.- Author:
- Jeremy Thomerson, Emond Papegaaij
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.wicket.markup.head.filter.AbstractHeaderResponseFilter
accepts, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.markup.head.filter.FilteringHeaderResponse.IHeaderResponseFilter
test
-
Constructor Details
-
JavaScriptAcceptingHeaderResponseFilter
Construct.- Parameters:
name
- name of the filter (used by the container that renders these resources)
-
-
Method Details
-
acceptsWrapped
- Overrides:
acceptsWrapped
in classAbstractHeaderResponseFilter
-