Class ThymeleafTemplateServiceImpl

java.lang.Object
dev.dsf.fhir.adapter.ThymeleafTemplateServiceImpl
All Implemented Interfaces:
ThymeleafTemplateService, org.springframework.beans.factory.InitializingBean

public class ThymeleafTemplateServiceImpl extends Object implements ThymeleafTemplateService, org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • ThymeleafTemplateServiceImpl

      public ThymeleafTemplateServiceImpl(String serverBaseUrl, Theme theme, ca.uhn.fhir.context.FhirContext fhirContext, List<? extends ThymeleafContext> contexts, boolean cacheEnabled, boolean modCssExists)
      Parameters:
      serverBaseUrl - not null
      theme - may be null
      fhirContext - not null
      contexts - may be null
      cacheEnabled -
      modCssExists -
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • writeTo

      public void writeTo(org.hl7.fhir.r4.model.Resource resource, Class<?> type, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.SecurityContext securityContext, OutputStream outputStream) throws IOException
      Specified by:
      writeTo in interface ThymeleafTemplateService
      Throws:
      IOException