HandlerResultHandler implementation that supports ServerResponses.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private int | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public int | |
| public Mono | handleResult(ServerWebExchange
current server exchange exchange, HandlerResult the result from the handling result)Implements org. Process the given result modifying response headers and/or writing data to the response. |
| public void | setMessageWriters(List<HttpMessageWriter<?>> configurer)
Configure HTTP message writers to serialize the request body with. |
| public void | |
| public void | |
| public boolean | supports(HandlerResult
the result object to check result)Implements org. Whether this handler supports the given |
| messageWriters | back to summary |
|---|---|
| private List<HttpMessageWriter<?>> messageWriters | |
| order | back to summary |
|---|---|
| private int order | |
| viewResolvers | back to summary |
|---|---|
| private List<ViewResolver> viewResolvers | |
| ServerResponseResultHandler | back to summary |
|---|---|
| public ServerResponseResultHandler() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() throws Exception Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. | |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| handleResult | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Process the given result modifying response headers and/or writing data to the response.
| |
| setMessageWriters | back to summary |
|---|---|
| public void setMessageWriters(List<HttpMessageWriter<?>> configurer) Configure HTTP message writers to serialize the request body with. By default this is set to | |
| setOrder | back to summary |
|---|---|
| public void setOrder(int order) Set the order for this result handler relative to others. By default set to 0. It is generally safe to place it early in the order as it looks for a concrete return type. | |
| setViewResolvers | back to summary |
|---|---|
| public void setViewResolvers(List<ViewResolver> viewResolvers) | |
| supports | back to summary |
|---|---|
| public boolean supports(HandlerResult result) Implements org. Doc from org. Whether this handler supports the given
| |