title: get HttpServletRequest object inside class implementing NexusIndexHTMLCustomizer
body: <p>I have a requirement like </p>
  
  <p>1) attach an iframe above the existing nexus oss topmost panel , and the url 
  source of that iframe will have to be generated using the url parameters 
  coming in as query param . so I have created a java class to generate the 
  source url when it is given the HttpServeletRequest object . once I get the 
  url I can assign it to a variable and replace source url in the javascript.</p>
  
  <p>so what I planned to do is ,</p>
  
  <pre><code>public class CtfButtonBar implements NexusIndexHtmlCustomizer {
  
  .
  .
  .
   @ Override
      public String getPostBodyContribution( Map&lt;String, Object&gt; context )
      {
  
          return "&lt;script&gt;jQuery(window).load(function () 
  {jQuery('body').find('div:first').prepend('&lt;iframe id=\"myframe\" src=\" " 
  
  +  source url + 
  
  "" &gt;  &lt;/iframe&gt;')});&lt;/script&gt;";
      }
  </code></pre>
  
  <p>in the above "source url" variable which will be my source attribute of 
  iframe need to be generated from the HttpServeletRequest object . so 
  basically I need the HttpServeletRequest object inside this class . Is there 
  any way I can get this object in this class  CtfButtonBar ? </p>