Interface HtmlInjector

  • All Known Implementing Classes:
    ModalInjector

    public interface HtmlInjector
    Allows services to inject HTML content at arbitrary URLs.
    Author:
    jwhite
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String inject​(javax.servlet.http.HttpServletRequest request)
      Inject content into the current page.
    • Method Detail

      • inject

        java.lang.String inject​(javax.servlet.http.HttpServletRequest request)
                         throws java.lang.Exception
        Inject content into the current page.
        Parameters:
        request - the current HTTP request
        Returns:
        HTML content to inject, or null
        Throws:
        java.lang.Exception