@Experimental public class CompositeTransformer extends Object implements ResponseFunction
ResponseFunction that can join multiple ResponseFunction instances.| Constructor and Description |
|---|
CompositeTransformer(List<ResponseFunction> responseFunctions) |
| Modifier and Type | Method and Description |
|---|---|
Function<Mono<ClientResponse>,Mono<ClientResponse>> |
transform(DiscordWebRequest request)
Transform a
Mono pipeline using the given DiscordWebRequest as hint for parameterization of the
resulting transformation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemptyIfNotFound, emptyIfNotFound, emptyOnErrorStatus, retryOnceOnErrorStatus, retryOnceOnErrorStatus, retryWhenpublic CompositeTransformer(List<ResponseFunction> responseFunctions)
public Function<Mono<ClientResponse>,Mono<ClientResponse>> transform(DiscordWebRequest request)
ResponseFunctionMono pipeline using the given DiscordWebRequest as hint for parameterization of the
resulting transformation.transform in interface ResponseFunctionrequest - the DiscordRequest used for the targeted Mono sequenceFunction that allows immediately mapping this Mono into a target Mono instance