HttpEntity, ResponseEntity,
HttpHeaders, ErrorResponse, and ProblemDetail.
By default the order for this result handler is set to 0. It is generally safe to place it early in the order as it looks for a concrete return type.
| Modifier and Type | Field and Description |
|---|---|
| private static final Set |
| Access | Constructor and Description |
|---|---|
| public | ResponseEntityResultHandler(List<HttpMessageWriter<?>>
the writers for serializing to the response body writers, RequestedContentTypeResolver to determine the requested content type resolver)Basic constructor with a default |
| public | ResponseEntityResultHandler(List<HttpMessageWriter<?>>
the writers for serializing to the response body writers, RequestedContentTypeResolver to determine the requested content type resolver, ReactiveAdapterRegistry for adaptation to reactive types registry)Constructor with an |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| private boolean | |
| private static Class | |
| public boolean | supports(HandlerResult
the result object to check result)Implements org. Whether this handler supports the given |
| SAFE_METHODS | back to summary |
|---|---|
| private static final Set<HttpMethod> SAFE_METHODS | |
| ResponseEntityResultHandler | back to summary |
|---|---|
| public ResponseEntityResultHandler(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a default
| |
| ResponseEntityResultHandler | back to summary |
|---|---|
| public ResponseEntityResultHandler(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with an
| |
| 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.
| |
| isSupportedType | back to summary |
|---|---|
| private boolean isSupportedType(Class<?> type) | |
| resolveReturnValueType | back to summary |
|---|---|
private static Class
| |
| supports | back to summary |
|---|---|
| public boolean supports(HandlerResult result) Implements org. Doc from org. Whether this handler supports the given
| |