public class HttpSupport.RenderBuilder extends HttpSupport.HttpBuilder
Modifier and Type | Method and Description |
---|---|
HttpSupport.RenderBuilder |
format(String format)
Sets a format for the current request.
|
protected org.javalite.activeweb.RenderTemplateResponse |
getRenderTemplateResponse() |
HttpSupport.RenderBuilder |
layout(String layout)
Use this method to override a default layout configured.
|
HttpSupport.RenderBuilder |
noLayout()
Call this method to turn off all layouts.
|
contentType, getControllerResponse, header, status, statusCode
public HttpSupport.RenderBuilder layout(String layout)
layout
- name of another layout.protected org.javalite.activeweb.RenderTemplateResponse getRenderTemplateResponse()
public HttpSupport.RenderBuilder noLayout()
public HttpSupport.RenderBuilder format(String format)
format
- template formatCopyright © 2020 JavaLite. All rights reserved.