HttpMessageWriter.
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| protected | AbstractMessageWriterResultHandler(List<HttpMessageWriter<?>>
for serializing Objects to the response body stream messageWriters, RequestedContentTypeResolver for resolving the requested content type contentTypeResolver)Constructor with |
| protected | AbstractMessageWriterResultHandler(List<HttpMessageWriter<?>>
for serializing Objects to the response body stream messageWriters, RequestedContentTypeResolver for resolving the requested content type contentTypeResolver, ReactiveAdapterRegistry for adapting other reactive types (e.g. rx.Observable,
rx.Single, etc.) to Flux or Mono adapterRegistry)Constructor with an additional |
| Modifier and Type | Method and Description |
|---|---|
| private ResolvableType | |
| private List | |
| public List | |
| protected Mono | Returns: indicates completion or errorthe object to write body, MethodParameter the bodyParameter, ServerWebExchange MethodParameter of the body to writethe current exchange exchange)Write a given body to the response with |
| protected Mono | Returns: indicates completion or errorthe object to write body, MethodParameter the bodyParameter, MethodParameter MethodParameter of the body to writethe actual return type of the method that returned the value;
could be different from actualParam, ServerWebExchange bodyParameter when processing HttpEntity
for examplethe current exchange exchange)Write a given body to the response with |
| COROUTINES_FLOW_CLASS_NAME | back to summary |
|---|---|
| protected static final String COROUTINES_FLOW_CLASS_NAME | |
| messageWriters | back to summary |
|---|---|
| private final List<HttpMessageWriter<?>> messageWriters | |
| problemMediaTypes | back to summary |
|---|---|
| private final List<MediaType> problemMediaTypes | |
| AbstractMessageWriterResultHandler | back to summary |
|---|---|
| protected AbstractMessageWriterResultHandler(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver) Constructor with
| |
| AbstractMessageWriterResultHandler | back to summary |
|---|---|
| protected AbstractMessageWriterResultHandler(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) Constructor with an additional
| |
| getElementType | back to summary |
|---|---|
| private ResolvableType getElementType(ReactiveAdapter adapter, ResolvableType genericType) | |
| getMediaTypesFor | back to summary |
|---|---|
| private List | |
| getMessageWriters | back to summary |
|---|---|
| public List Return the configured message converters. | |
| writeBody | back to summary |
|---|---|
| protected Mono Write a given body to the response with
| |
| writeBody | back to summary |
|---|---|
| protected Mono Write a given body to the response with
| |