Package io.micronaut.views.rocker
Class RockerWriterOutput
java.lang.Object
com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput>
io.micronaut.views.rocker.RockerWriterOutput
- All Implemented Interfaces:
 com.fizzed.rocker.RockerOutput<com.fizzed.rocker.runtime.AbstractRockerOutput>
public class RockerWriterOutput
extends com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput>
Writer implementation of RockerOutput.- Since:
 - 1.3.2
 - Author:
 - Sam Adams
 
- 
Field Summary
Fields inherited from class com.fizzed.rocker.runtime.AbstractRockerOutput
byteLength, charset, contentType - 
Constructor Summary
ConstructorsConstructorDescriptionRockerWriterOutput(Writer writer, com.fizzed.rocker.ContentType contentType, String charsetName) Creates a new instance of the Rocker writer output.RockerWriterOutput(Writer writer, com.fizzed.rocker.ContentType contentType, Charset charset) Creates a new instance of the Rocker writer output. - 
Method Summary
Modifier and TypeMethodDescriptioncom.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput>w(byte[] bytes) com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput>Methods inherited from class com.fizzed.rocker.runtime.AbstractRockerOutput
getByteLength, getCharset, getContentTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fizzed.rocker.RockerOutput
toString 
- 
Constructor Details
- 
RockerWriterOutput
public RockerWriterOutput(Writer writer, com.fizzed.rocker.ContentType contentType, String charsetName) Creates a new instance of the Rocker writer output.- Parameters:
 writer- The writer to render the templates tocontentType- The content type of the outputcharsetName- The charset of the output
 - 
RockerWriterOutput
public RockerWriterOutput(Writer writer, com.fizzed.rocker.ContentType contentType, Charset charset) Creates a new instance of the Rocker writer output.- Parameters:
 writer- The writer to render the templates tocontentType- The content type of the outputcharset- The charset of the output
 
 - 
 - 
Method Details
- 
w
public com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> w(String string) throws IOException - Throws:
 IOException
 - 
w
public com.fizzed.rocker.runtime.AbstractRockerOutput<RockerWriterOutput> w(byte[] bytes) throws IOException - Throws:
 IOException
 
 -