public class JavaScriptFilteredIntoFooterHeaderResponse extends FilteringHeaderResponse
HeaderResponseContainer
to the footer of your
page (typically just before the end body tag) to render those items.FilteringHeaderResponse.IHeaderResponseFilter
DEFAULT_HEADER_FILTER_NAME
Constructor and Description |
---|
JavaScriptFilteredIntoFooterHeaderResponse(IHeaderResponse response,
String footerBucketName)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected FilteringHeaderResponse.IHeaderResponseFilter |
createFooterFilter(String footerBucketName) |
protected FilteringHeaderResponse.IHeaderResponseFilter |
createHeaderFilter(String headerFilterName,
FilteringHeaderResponse.IHeaderResponseFilter footerFilter) |
close, decorate, get, getContent, render, render, setFilters
getRealResponse, getResponse, isClosed, markRendered, wasRendered
public JavaScriptFilteredIntoFooterHeaderResponse(IHeaderResponse response, String footerBucketName)
response
- the response you are wrappingfooterBucketName
- the name of the bucket that you will use for your footer container (see the class
javadocs for a reminder about putting this container in your footer)protected FilteringHeaderResponse.IHeaderResponseFilter createFooterFilter(String footerBucketName)
protected FilteringHeaderResponse.IHeaderResponseFilter createHeaderFilter(String headerFilterName, FilteringHeaderResponse.IHeaderResponseFilter footerFilter)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.