Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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>

Nested Class Summary

Nested classes/interfaces inherited from class juzu.Response
`Response.Content<S extends Stream>, Response.Redirect, Response.Render, Response.View`

Constructor Summary
`Response.Render()`
`Response.Render(PropertyMap properties, Streamable<Stream.Char> streamable)`
`Response.Render(Streamable<Stream.Char> streamable)`

Method Summary
`Response.Render` | `addScript(Asset script)`
`Response.Render` | `addStylesheet(Asset stylesheet)`
`Iterable<Map.Entry<String,String>>` | `getMetaTags()`
`Iterable<Asset>` | `getScripts()`
`Iterable<Asset>` | `getStylesheets()`
`String` | `getTitle()`
`String` | `toString()`
`
`<T> Response.Render`
` | `with(PropertyType<T> propertyType, T propertyValue)` Set a property, if the value is null, the property is removed.
`Response.Render` | `withHeader(String name, String... value)`
`Response.Render` | `withMetaTag(String name, String value)`
`Response.Render` | `withTitle(String title)`

Methods inherited from class juzu.Response.Content
`getKind, getMimeType, getStatus, getStreamable, send, withMimeType`

Methods inherited from class juzu.Response
`content, content, content, getProperties, notFound, ok, ok, redirect, render, render`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### 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)

Method Detail

### 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 type
    `propertyValue` - 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 eXo Platform SAS. All Rights Reserved.