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(java.lang.String headerName,
java.lang.String... headerValues)
Specify a header to add to the response.
|
B |
headers(HttpHeaders headers)
Specify headers to add to the response.
|
B |
model(java.util.Map<java.lang.String,?> map)
Add the given attributes to the model.
|
B |
modelAttribute(java.lang.Object value)
Add an attribute to the model using a
generated name . |
B |
modelAttribute(java.lang.String name,
java.lang.Object value)
Add the given model attribute with the supplied name.
|
B |
modelAttributes(java.lang.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(java.lang.String name, java.lang.Object value)
Model.addAttribute(String, Object)
B modelAttribute(java.lang.Object value)
generated name
.Model.addAttribute(Object)
B modelAttributes(java.lang.Object... values)
generated names
.Model.addAllAttributes(Collection)
B model(java.util.Map<java.lang.String,?> map)
Model.addAllAttributes(Map)
B status(HttpStatus status)
B header(java.lang.String headerName, java.lang.String... headerValues)
B headers(HttpHeaders headers)