B
- a self reference to the builder typepublic static interface Rendering.Builder<B extends Rendering.Builder<B>>
Rendering
.Modifier and Type | Method and Description |
---|---|
Rendering |
build()
Builder the
Rendering instance. |
B |
header(String headerName,
String... headerValues)
Specify a header to add to the response.
|
B |
headers(HttpHeaders headers)
Specify headers to add to the response.
|
B |
model(Map<String,?> map)
Add the given attributes to the model.
|
B |
modelAttribute(Object value)
Add an attribute to the model using a
generated name . |
B |
modelAttribute(String name,
Object value)
Add the given model attribute with the supplied name.
|
B |
modelAttributes(Object... values)
Add all given attributes to the model using
generated names . |
B |
status(HttpStatus status)
Specify the status to use for the response.
|
B modelAttribute(String name, Object value)
Model.addAttribute(String, Object)
B modelAttribute(Object value)
generated name
.Model.addAttribute(Object)
B modelAttributes(Object... values)
generated names
.Model.addAllAttributes(Collection)
B model(Map<String,?> map)
Model.addAllAttributes(Map)
B status(HttpStatus status)
B headers(HttpHeaders headers)