- Type Parameters:
From- the encoded typeTo- the decoded type
- All Superinterfaces:
Decoder<From,To>
- All Known Subinterfaces:
MediaTypeConverter<From>,ReactiveConverter<A,B>
- All Known Implementing Classes:
ByteBufConverter,JacksonByteBufConverter,JacksonStringConverter,JsonByteBufMediaTypeConverter,JsonStringMediaTypeConverter,NdJsonByteBufMediaTypeConverter,NdJsonStringMediaTypeConverter,TextByteBufMediaTypeConverter,TextStringMediaTypeConverter
A reactive decoder.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondecodeMany(Publisher<From> value, Class<T> type) Decodes the specified stream of values whose type is represented by the specified class into a flux stream of values.decodeMany(Publisher<From> value, Type type) Decodes the specified stream of values whose type is the specified type into a flux stream of values.Decodes the specified stream of values whose type is represented by the specified class into a mono stream of values.Decodes the specified stream of values whose type is the specified type into a mono stream of value.
-
Method Details
-
decodeOne
Decodes the specified stream of values whose type is represented by the specified class into a mono stream of values.
- Type Parameters:
T- the type of the decoded object- Parameters:
value- the stream of values to decodetype- the class of the decoded object- Returns:
- a mono emitting the decoded value
-
decodeOne
Decodes the specified stream of values whose type is the specified type into a mono stream of value.
- Type Parameters:
T- the type of the decoded object- Parameters:
value- the stream of values to decodetype- the type of the decoded object- Returns:
- a mono emitting the decoded value
-
decodeMany
Decodes the specified stream of values whose type is represented by the specified class into a flux stream of values.
- Type Parameters:
T- the type of the decoded object- Parameters:
value- the stream of values to decodetype- the class of the decoded object- Returns:
- a flux emitting the decoded values
-
decodeMany
Decodes the specified stream of values whose type is the specified type into a flux stream of values.
- Type Parameters:
T- the type of the decoded object- Parameters:
value- the stream of values to decodetype- the type of the decoded object- Returns:
- a flux emitting the decoded values
-