Class IndexHtmlTransformer

java.lang.Object
org.tailormap.api.configuration.base.IndexHtmlTransformer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware, org.springframework.web.servlet.resource.ResourceTransformer

@Component public class IndexHtmlTransformer extends Object implements org.springframework.web.servlet.resource.ResourceTransformer, org.springframework.context.EnvironmentAware
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEnvironment(org.springframework.core.env.Environment environment)
     
    org.springframework.core.io.Resource
    transform(jakarta.servlet.http.HttpServletRequest request, org.springframework.core.io.Resource resource, org.springframework.web.servlet.resource.ResourceTransformerChain transformerChain)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IndexHtmlTransformer

      public IndexHtmlTransformer()
  • Method Details

    • setEnvironment

      public void setEnvironment(@NonNull org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • transform

      @NonNull public org.springframework.core.io.Resource transform(@NonNull jakarta.servlet.http.HttpServletRequest request, @NonNull org.springframework.core.io.Resource resource, @NonNull org.springframework.web.servlet.resource.ResourceTransformerChain transformerChain) throws IOException
      Specified by:
      transform in interface org.springframework.web.servlet.resource.ResourceTransformer
      Throws:
      IOException