code: public static void setHeaderResponseDecorator(final Application application,
  		final String footerFilterName)
  	{
  		application.setHeaderResponseDecorator(new IHeaderResponseDecorator()
  		{
  			@Override
  			public IHeaderResponse decorate(final IHeaderResponse response)
  			{
  				return new JavaScriptFilteredIntoFooterHeaderResponse(response, footerFilterName);
  			}
  		});
  	}
docs: Sets an {@link IHeaderResponseDecorator} for the given application to use to decorate header
  responses.
  
  @param application
  the application
  @param footerFilterName
  the footer filter name