Class RockerWritable

java.lang.Object
io.micronaut.views.rocker.RockerWritable
All Implemented Interfaces:
io.micronaut.core.io.Streamable, io.micronaut.core.io.Writable

public class RockerWritable extends Object implements io.micronaut.core.io.Writable
A Writable for Rocker templates.
Since:
1.3.2
Author:
Sam Adams
  • Constructor Details

    • RockerWritable

      public RockerWritable(com.fizzed.rocker.RockerModel model)
      Parameters:
      model - The populated Rocker template model
  • Method Details

    • writeTo

      public void writeTo(Writer out)
      Specified by:
      writeTo in interface io.micronaut.core.io.Writable