Package | Description |
---|---|
juzu | |
juzu.template |
Modifier and Type | Method and Description |
---|---|
Response.Content |
Response.Status.content(byte[] s) |
Response.Content |
Response.Status.content(CharSequence s) |
Response.Content |
Response.Status.content(InputStream s) |
static Response.Content |
Response.content(int code,
byte[] content) |
static Response.Content |
Response.content(int code,
CharSequence content) |
static Response.Content |
Response.content(int code,
InputStream content) |
static Response.Content |
Response.content(int code,
Readable content) |
static Response.Content |
Response.content(int code,
Streamable content) |
Response.Content |
Response.Status.content(Streamable s) |
static Response.Content |
Response.notFound(byte[] content) |
static Response.Content |
Response.notFound(CharSequence content) |
static Response.Content |
Response.notFound(InputStream content) |
static Response.Content |
Response.notFound(Readable content) |
static Response.Content |
Response.ok(byte[] content) |
static Response.Content |
Response.ok(CharSequence content) |
static Response.Content |
Response.ok(InputStream content) |
static Response.Content |
Response.ok(Readable content) |
Response.Content |
Response.Content.with(PropertyType<Boolean> propertyType) |
<T> Response.Content |
Response.Content.with(PropertyType<T> propertyType,
T propertyValue) |
Response.Content |
Response.Content.withAssets(String... assets) |
Response.Content |
Response.Content.withCharset(Charset charset) |
Response.Content |
Response.Content.withHeader(String name,
String... value) |
Response.Content |
Response.Content.withHeaderTag(Element header)
Set the provided element on the response as an HTML header.
|
Response.Content |
Response.Content.withHeaderTag(String header)
Parse the header into an
Element and set it on the response as an header tag. |
Response.Content |
Response.Content.withMetaHttpEquiv(String name,
String value) |
Response.Content |
Response.Content.withMetaTag(String name,
String value) |
Response.Content |
Response.Content.withMimeType(String mimeType) |
Response.Content |
Response.Content.withNo(PropertyType<Boolean> propertyType) |
<T> Response.Content |
Response.Content.without(PropertyType<T> propertyType) |
Response.Content |
Response.Content.withTitle(String title) |
Modifier and Type | Method and Description |
---|---|
Response.Content |
Template.notFound()
Renders the template.
|
Response.Content |
Template.Builder.notFound()
Renders the template and returns a response with the not found status.
|
Response.Content |
Template.notFound(Locale locale)
Renders the template.
|
Response.Content |
Template.notFound(Map<String,?> parameters)
Renders the template.
|
Response.Content |
Template.notFound(Map<String,?> parameters,
Locale locale)
Renders the template.
|
Response.Content |
Template.ok()
Renders the template.
|
Response.Content |
Template.Builder.ok()
Renders the template and set the response on the current
RequestContext . |
Response.Content |
Template.ok(Locale locale)
Renders the template.
|
Response.Content |
Template.ok(Map<String,?> parameters)
Renders the template and set the response on the current
RequestContext . |
Response.Content |
Template.ok(Map<String,?> parameters,
Locale locale)
Renders the template.
|
Response.Content |
Template.Builder.status(int status)
Renders the template and returns a response with the specified status.
|
Copyright © 2015 eXo Platform SAS. All rights reserved.