java.lang.Object
io.jooby.rocker.RockerModule
- All Implemented Interfaces:
io.jooby.Extension
Rocker module. It requires some build configuration setup which are documented in the web site.
Please refer to https://jooby.io/modules/rocker for more details.
- Since:
- 2.0.0
- Author:
- edgar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstall(io.jooby.Jooby application) reloading(boolean reloading) Turn on/off autoreloading of template for development.reuseBuffer(boolean reuseBuffer) Allow simple reuse of raw byte buffers.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jooby.Extension
lateinit
-
Constructor Details
-
RockerModule
-
RockerModule
public RockerModule()
-
-
Method Details
-
reloading
Turn on/off autoreloading of template for development.- Parameters:
reloading- True for turning on.- Returns:
- This module.
-
reuseBuffer
Allow simple reuse of raw byte buffers. It is usually used throughThreadLocalvariable pointing to instance ofBufferedOutput.- Parameters:
reuseBuffer- True for reuse the buffer. Enabled by default when running inExecutionMode.EVENT_LOOP.- Returns:
- This module.
-
install
public void install(io.jooby.Jooby application) - Specified by:
installin interfaceio.jooby.Extension
-