juzu
Class Response.Render
java.lang.Object
juzu.Response
juzu.Response.Content<Stream.Char>
juzu.Response.Render
- Enclosing class:
- Response
public static class Response.Render
- extends Response.Content<Stream.Char>
Response.Render
public Response.Render()
Response.Render
public Response.Render(PropertyMap properties,
Streamable<Stream.Char> streamable)
Response.Render
public Response.Render(Streamable<Stream.Char> streamable)
with
public <T> Response.Render with(PropertyType<T> propertyType,
T propertyValue)
throws NullPointerException
- Description copied from class:
Response
- Set a property, if the value is null, the property is removed.
- Overrides:
with in class Response.Content<Stream.Char>
- Parameters:
propertyType - the property typepropertyValue - the property value
- Throws:
NullPointerException - if the property type is null
withHeader
public Response.Render withHeader(String name,
String... value)
- Overrides:
withHeader in class Response.Content<Stream.Char>
getTitle
public String getTitle()
withTitle
public Response.Render withTitle(String title)
getScripts
public Iterable<Asset> getScripts()
addScript
public Response.Render addScript(Asset script)
throws NullPointerException
- Throws:
NullPointerException
getStylesheets
public Iterable<Asset> getStylesheets()
addStylesheet
public Response.Render addStylesheet(Asset stylesheet)
throws NullPointerException
- Throws:
NullPointerException
getMetaTags
public Iterable<Map.Entry<String,String>> getMetaTags()
withMetaTag
public Response.Render withMetaTag(String name,
String value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 eXo Platform SAS. All Rights Reserved.