接口 HttpMessageDecoder<T>
- 类型参数:
T- the type of elements in the output stream
- 所有超级接口:
cn.taketoday.core.codec.Decoder<T>
public interface HttpMessageDecoder<T>
extends cn.taketoday.core.codec.Decoder<T>
Extension of
Decoder exposing extra methods relevant in the context
of HTTP request or response body decoding.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
-
方法概要
修饰符和类型方法说明getDecodeHints(cn.taketoday.core.ResolvableType actualType, cn.taketoday.core.ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.从接口继承的方法 cn.taketoday.core.codec.Decoder
canDecode, decode, decode, decodeToMono, getDecodableMimeTypes, getDecodableMimeTypes
-
方法详细资料
-
getDecodeHints
Map<String,Object> getDecodeHints(cn.taketoday.core.ResolvableType actualType, cn.taketoday.core.ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.- 参数:
actualType- the actual target type to decode to, possibly a reactive wrapper and sourced fromParameter, i.e. providing access to method parameter annotationselementType- the element type withinFlux/Monothat we're trying to decode torequest- the current requestresponse- the current response- 返回:
- a Map with hints, possibly empty
-