|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface HeaderResponseContainerFilteringHeaderResponse.IHeaderResponseFilter
A filter used to bucket your resources, inline scripts, etc, into different responses. The
bucketed resources are then rendered by a HeaderResponseFilteredResponseContainer
,
using the name of the filter to get the correct bucket.
Method Summary | |
---|---|
boolean |
acceptOtherCss()
Whenever a renderCSS* method on IHeaderResponse is called that is not a ResourceReference (i.e. |
boolean |
acceptOtherJavaScript()
Whenever a render*JavaScript method on IHeaderResponse is called that is not a ResourceReference (i.e. |
boolean |
acceptReference(ResourceReference ref)
Determines whether a given ResourceReference should be rendered in the bucket represented by this filter. |
String |
getName()
|
Method Detail |
---|
String getName()
boolean acceptReference(ResourceReference ref)
ref
- the reference to be rendered
boolean acceptOtherJavaScript()
IHeaderResponse.renderOnDomReadyJavaScript(String)
), this
method determines if the script should be bucketed with other things in this filter.
Note that calls to IHeaderResponse.renderJavaScriptReference(String url) are also
filtered with this method since there is no actual ResourceReference to pass
boolean acceptOtherCss()
IHeaderResponse.renderCSSReference(String)
, or
IHeaderResponse.renderCSSReference(String, String)
), this method determines if
the CSS reference should be bucketed with other things in this filter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |