Class PebbleLoader

java.lang.Object
io.pebbletemplates.pebble.loader.ClasspathLoader
io.micronaut.views.pebble.PebbleLoader
All Implemented Interfaces:
io.pebbletemplates.pebble.loader.Loader<String>

public class PebbleLoader extends io.pebbletemplates.pebble.loader.ClasspathLoader
Loader for Pebble templates.
Since:
3.1.0
Author:
Ecmel Ercan
  • Constructor Details

  • Method Details

    • createCacheKey

      public String createCacheKey(String templateName)
      Specified by:
      createCacheKey in interface io.pebbletemplates.pebble.loader.Loader<String>
      Overrides:
      createCacheKey in class io.pebbletemplates.pebble.loader.ClasspathLoader
    • resourceExists

      public boolean resourceExists(String templateName)
      Specified by:
      resourceExists in interface io.pebbletemplates.pebble.loader.Loader<String>
      Overrides:
      resourceExists in class io.pebbletemplates.pebble.loader.ClasspathLoader