T - the type of elements in the output streampublic interface HttpMessageDecoder<T> extends Decoder<T>
Decoder exposing extra methods relevant in the context
of HTTP request or response body decoding.| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getDecodeHints(ResolvableType actualType,
ResolvableType elementType,
ServerHttpRequest request,
ServerHttpResponse response)
Get decoding hints based on the server request or annotations on the
target controller method parameter.
|
canDecode, decode, decodeToMono, getDecodableMimeTypesMap<String,Object> getDecodeHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response)
actualType - the actual target type to decode to, possibly a reactive
wrapper and sourced from MethodParameter,
i.e. providing access to method parameter annotationselementType - the element type within Flux/Mono that we're
trying to decode torequest - the current requestresponse - the current response