Package discord4j.rest.response
Class CompositeTransformer
java.lang.Object
discord4j.rest.response.CompositeTransformer
- All Implemented Interfaces:
ResponseFunction
A
ResponseFunction that can join multiple ResponseFunction instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontransform(DiscordWebRequest request) Transform aMonopipeline using the givenDiscordWebRequestas hint for parameterization of the resulting transformation.
-
Constructor Details
-
CompositeTransformer
-
-
Method Details
-
transform
Description copied from interface:ResponseFunctionTransform aMonopipeline using the givenDiscordWebRequestas hint for parameterization of the resulting transformation.- Specified by:
transformin interfaceResponseFunction- Parameters:
request- theDiscordRequestused for the targetedMonosequence- Returns:
- a
Functionthat allows immediately mapping thisMonointo a targetMonoinstance
-