org.juzu.template
Class Template.Builder
java.lang.Object
org.juzu.template.Template.Builder
- Enclosing class:
- Template
public class Template.Builder
- extends Object
Template.Builder
public Template.Builder()
render
public final void render()
ok
public final Response.Stream ok()
notFound
public final Response.Stream notFound()
set
public Template.Builder set(String name,
Object value)
throws NullPointerException
- Update a parameter, if the value is not null the parameter with the specified name is set, otherwise
the parameter is removed. If the parameter is set and a value was set previously, the old value is
overwritten otherwise. If the parameter is removed and the value does not exist, nothing happens.
- Parameters:
name - the parameter namevalue - the parameter value
- Returns:
- this builder
- Throws:
NullPointerException - if the name argument is null
Copyright © 2012 eXo Platform SAS. All Rights Reserved.