public class Request
extends java.lang.Object
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
withName(java.lang.String requestName,
java.util.function.Supplier<T> f)
Used to wrap request sending with a request name.
|
public static <T> T withName(java.lang.String requestName,
java.util.function.Supplier<T> f)
T - return type of the functionrequestName - the request namef - the function to performfCinnamon API. Copyright (c) 2015–2021 Lightbend.