T - the type of objects in the decoded output streampublic interface HttpMessageReader<T>
ReactiveHttpInputMessage and decoding
 the stream of bytes to Objects of type <T>.| Modifier and Type | Method and Description | 
|---|---|
| boolean | canRead(ResolvableType elementType,
       MediaType mediaType)Whether the given object type is supported by this reader. | 
| List<MediaType> | getReadableMediaTypes()Return the  MediaType's that this reader supports. | 
| reactor.core.publisher.Flux<T> | read(ResolvableType elementType,
    ReactiveHttpInputMessage message,
    Map<String,Object> hints)Read from the input message and encode to a stream of objects. | 
| default reactor.core.publisher.Flux<T> | read(ResolvableType actualType,
    ResolvableType elementType,
    ServerHttpRequest request,
    ServerHttpResponse response,
    Map<String,Object> hints)Server-side only alternative to
  read(ResolvableType, ReactiveHttpInputMessage, Map)with additional context available. | 
| reactor.core.publisher.Mono<T> | readMono(ResolvableType elementType,
        ReactiveHttpInputMessage message,
        Map<String,Object> hints)Read from the input message and encode to a single object. | 
| default reactor.core.publisher.Mono<T> | readMono(ResolvableType actualType,
        ResolvableType elementType,
        ServerHttpRequest request,
        ServerHttpResponse response,
        Map<String,Object> hints)Server-side only alternative to
  readMono(ResolvableType, ReactiveHttpInputMessage, Map)with additional, context available. | 
List<MediaType> getReadableMediaTypes()
MediaType's that this reader supports.boolean canRead(ResolvableType elementType, @Nullable MediaType mediaType)
elementType - the type of object to checkmediaType - the media type for the read (possibly null)true if readable, false otherwisereactor.core.publisher.Flux<T> read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
elementType - the type of objects in the stream which must have been
 previously checked via canRead(ResolvableType, MediaType)message - the message to read fromhints - additional information about how to read and decode the inputreactor.core.publisher.Mono<T> readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
elementType - the type of objects in the stream which must have been
 previously checked via canRead(ResolvableType, MediaType)message - the message to read fromhints - additional information about how to read and decode the inputdefault reactor.core.publisher.Flux<T> read(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String,Object> hints)
read(ResolvableType, ReactiveHttpInputMessage, Map)
 with additional context available.actualType - the actual type of the target method parameter;
 for annotated controllers, the MethodParameter can be accessed
 via ResolvableType.getSource().elementType - the type of Objects in the output streamrequest - the current requestresponse - the current responsehints - additional information about how to read the bodydefault reactor.core.publisher.Mono<T> readMono(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response, Map<String,Object> hints)
readMono(ResolvableType, ReactiveHttpInputMessage, Map)
 with additional, context available.actualType - the actual type of the target method parameter;
 for annotated controllers, the MethodParameter can be accessed
 via ResolvableType.getSource().elementType - the type of Objects in the output streamrequest - the current requestresponse - the current responsehints - additional information about how to read the body