Interface DynamicJSImportMapsContributor


public interface DynamicJSImportMapsContributor
A low level version of JSImportMapsContributor that allows changing the import maps dynamically every time they are rendered. NOTE: For static import maps it's safer and faster to implement JSImportMapsContributor instead of this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeGlobalImports(jakarta.servlet.http.HttpServletRequest httpServletRequest, Writer writer)
     
    void
    writeScopedImports(jakarta.servlet.http.HttpServletRequest httpServletRequest, Writer writer)
     
  • Method Details

    • writeGlobalImports

      void writeGlobalImports(jakarta.servlet.http.HttpServletRequest httpServletRequest, Writer writer) throws IOException
      Throws:
      IOException
    • writeScopedImports

      void writeScopedImports(jakarta.servlet.http.HttpServletRequest httpServletRequest, Writer writer) throws IOException
      Throws:
      IOException